From: Davide Caratti <dcara...@redhat.com>
Date: Wed, 21 Nov 2018 18:23:53 +0100

> commit f2cbd4852820 ("net/sched: act_police: fix race condition on state
> variables") introduces a new spinlock, but forgets its initialization.
> Ensure that tcf_police_init() initializes 'tcfp_lock' every time a 'police'
> action is newly created, to avoid the following lockdep splat:
 ...
> Fixes: f2cbd4852820 ("net/sched: act_police: fix race condition on state 
> variables")
> Reported-by: Cong Wang <xiyou.wangc...@gmail.com>
> Signed-off-by: Davide Caratti <dcara...@redhat.com>

Applied.

Reply via email to