]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: act_gact: remove dependency on rtnl lock
authorVlad Buslov <vladbu@mellanox.com>
Fri, 10 Aug 2018 17:51:43 +0000 (20:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 19:37:09 +0000 (12:37 -0700)
commit66ff866b0068f6c42a93349619475e76f95561df
tree6952eac3bcfa260e285c9940de082884b410fe6e
parentf297916dd60ba133198c9878d51c8bcafc6b89be
net: sched: act_gact: remove dependency on rtnl lock

Use tcf spinlock to protect gact action private state from concurrent
modification during dump and init. Remove rtnl assertion that is no longer
necessary.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_gact.c