xt.git - net-next plumbings
summaryrefslogtreecommitdiff
path: root/net/sched/cls_bpf.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-12-02 18:00:33 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-08 20:53:40 -0500
commit3fe6b49e2f8adc61fef9a22ecc0c3565f9ea468d (patch)
tree75c45bffe5dec3a81f238106c6c2beb8f03ed4b9 /net/sched/cls_bpf.c
parent472f58370128d5e18f9d5429313a87d0f30af45e (diff)
net_sched: cls_bpf: remove faulty use of list_for_each_entry_rcu
rcu variant is not correct here. The code is called by updater (rtnl lock is held), not by reader (no rcu_read_lock is held). Signed-off-by: Jiri Pirko <jiri@resnulli.us> ACKed-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_bpf.c')