]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5feb7e6f8a218b8841448895b86a5f6d8ec73c1d
tree743af2fa122490876719a65c2b7151a5f56e6b97
parent71d2bee1296792a1cb916e8c193de59fc15dcdfb
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