summaryrefslogtreecommitdiffstats
path: root/net/sched/em_u32.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-08-10 19:51:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-11 21:37:10 +0200
commit764e9a24480f6ffba5493fb21e6a7b030d6b8b67 (patch)
treefc393dce078fb6d5ac6014f0e72eca289ef6b33e /net/sched/em_u32.c
parentnet: sched: act_tunnel_key: remove dependency on rtnl lock (diff)
downloadlinux-764e9a24480f6ffba5493fb21e6a7b030d6b8b67.tar.xz
linux-764e9a24480f6ffba5493fb21e6a7b030d6b8b67.zip
net: sched: act_vlan: remove dependency on rtnl lock
Use tcf spinlock to protect vlan action private data from concurrent modification during dump and init. Use rcu swap operation to reassign params pointer under protection of tcf lock. (old params value is not used by init, so there is no need of standalone rcu dereference step) 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>
Diffstat (limited to 'net/sched/em_u32.c')
0 files changed, 0 insertions, 0 deletions