net_sched: cls_bpf: remove faulty use of list_for_each_entry_rcu
authorJiri Pirko <jiri@resnulli.us>
Tue, 2 Dec 2014 17:00:33 +0000 (18:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:53:40 +0000 (20:53 -0500)
commit3fe6b49e2f8adc61fef9a22ecc0c3565f9ea468d
tree75c45bffe5dec3a81f238106c6c2beb8f03ed4b9
parent472f58370128d5e18f9d5429313a87d0f30af45e
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>
net/sched/cls_bpf.c