aboutsummaryrefslogtreecommitdiff
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorVlad Buslov2018-08-10 20:51:50 +0300
committerDavid S. Miller2018-08-11 12:37:10 -0700
commit729e01260989cc06c8a78491b46545793aef323a (patch)
tree7edb289b936935c0bb7c8a7ec27c1902a27e040a /net/sched/cls_u32.c
parentc8814552fe51358f5fc46bc1c4aa4bb68454f4eb (diff)
net: sched: act_tunnel_key: remove dependency on rtnl lock
Use tcf lock to protect tunnel key action struct private data from concurrent modification in init and dump. 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 lock assertion that is no longer required. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions