net: fix suspicious rcu_dereference_check in net/sched/sch_fq_codel.c
authorValdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu>
Tue, 9 Dec 2014 21:15:50 +0000 (16:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 02:49:09 +0000 (21:49 -0500)
commit69204cf7eb9c5a72067ce6922d4699378251d053
tree38a2c1030456f342246379867ec6883c3ac21105
parent11d3d2a16cc1f05c6ece69a4392e99efb85666a6
net: fix suspicious rcu_dereference_check in net/sched/sch_fq_codel.c

commit 46e5da40ae (net: qdisc: use rcu prefix and silence
 sparse warnings) triggers a spurious warning:

net/sched/sch_fq_codel.c:97 suspicious rcu_dereference_check() usage!

The code should be using the _bh variant of rcu_dereference.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq_codel.c