aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/act_api.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-08-10 20:51:50 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-11 12:37:10 -0700
commit729e01260989cc06c8a78491b46545793aef323a (patch)
tree7edb289b936935c0bb7c8a7ec27c1902a27e040a /include/net/act_api.h
parentnet: sched: act_skbmod: remove dependency on rtnl lock (diff)
downloadlinux-dev-729e01260989cc06c8a78491b46545793aef323a.tar.xz
linux-dev-729e01260989cc06c8a78491b46545793aef323a.zip
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 'include/net/act_api.h')
0 files changed, 0 insertions, 0 deletions