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

Use tcf spinlock to protect private simple action data from concurrent
modification during dump. (simple init already uses tcf spinlock when
changing action state)

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