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

Use tcf spinlock to protect private sample action data from concurrent
modification during dump and init.

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