summaryrefslogtreecommitdiff
path: root/net/core/gen_estimator.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-08-10 20:51:53 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-11 22:37:10 +0300
commit4e232818bd32b29f15bef532f320a14367d172b4 (patch)
treeece429ffc22fa0c9e13f0cea7d2dde845a2579d7 /net/core/gen_estimator.c
parent84a75b329be84c108a21ab9c02a52a9bf9e5a919 (diff)
downloadlinux-4e232818bd32b29f15bef532f320a14367d172b4.tar.xz
net: sched: act_mirred: remove dependency on rtnl lock
Re-introduce mirred list spinlock, that was removed some time ago, in order to protect it from concurrent modifications, instead of relying on rtnl lock. Use tcf spinlock to protect mirred action private data from concurrent modification in init and dump. Rearrange access to mirred data in order to be performed only while holding the lock. Rearrange net dev access to always hold reference while working with it, instead of relying on rntl lock. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/gen_estimator.c')
0 files changed, 0 insertions, 0 deletions