aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_bpf.c
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2016-09-12 15:19:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-15 19:18:18 -0400
commit07c0f09e23b47815251ed9e5ce245a58c6391974 (patch)
tree4d405b3e74fd677c2a9c240397ca389d02601998 /net/sched/act_bpf.c
parenttest_bpf: fix the dummy skb after dissector changes (diff)
downloadlinux-dev-07c0f09e23b47815251ed9e5ce245a58c6391974.tar.xz
linux-dev-07c0f09e23b47815251ed9e5ce245a58c6391974.zip
net/sched: act_tunnel_key: Remove rcu_read_lock protection
Remove rcu_read_lock protection from tunnel_key_dump and use rtnl_dereference, dump operation is protected by rtnl lock. Also, remove rcu_read_lock from tunnel_key_release and use rcu_dereference_protected. Both operations are running exclusively and a writer couldn't modify t->params while those functions are executed. Fixes: 54d94fd89d90 ('net/sched: Introduce act_tunnel_key') Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_bpf.c')
0 files changed, 0 insertions, 0 deletions