summaryrefslogtreecommitdiffstats
path: root/net/sched/act_gact.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-08-10 19:51:42 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-11 21:37:09 +0200
commitb6a2b971c0b00253197682fbdf1c55fc0e2610a4 (patch)
treef1624ed1d28f1f268ec91c5edd1ccda43c51e23b /net/sched/act_gact.c
parentnet: sched: act_bpf: remove dependency on rtnl lock (diff)
downloadlinux-b6a2b971c0b00253197682fbdf1c55fc0e2610a4.tar.xz
linux-b6a2b971c0b00253197682fbdf1c55fc0e2610a4.zip
net: sched: act_csum: remove dependency on rtnl lock
Use tcf lock to protect csum 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 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/act_gact.c')
0 files changed, 0 insertions, 0 deletions