]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - net/sched/act_connmark.c
net_sched: add missing tcf_lock for act_connmark
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 29 Aug 2018 17:15:36 +0000 (10:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 05:57:43 +0000 (22:57 -0700)
commit506a03aa04deed321b26153aff4e61161aefa8af
tree743af2fa122490876719a65c2b7151a5f56e6b97
parentaa4e689ed1a7b5c1a479a57f05da0a340b1f8d0c
net_sched: add missing tcf_lock for act_connmark

According to the new locking rule, we have to take tcf_lock
for both ->init() and ->dump(), as RTNL will be removed.
However, it is missing for act_connmark.

Cc: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_connmark.c