[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANn89i+fLqXT2J-98UhC8x9sZCF1kh-twvZ2FXEAgOgKS5-oYg@mail.gmail.com>
Date: Tue, 9 Dec 2014 11:00:29 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Valdis Kletnieks <Valdis.Kletnieks@...edu>
Cc: John Fastabend <john.r.fastabend@...el.com>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org, netdev <netdev@...r.kernel.org>
Subject: Re: linux-next 20141208 - net/sched/sch_fq_codel.c:97 suspicious RCU
On Tue, Dec 9, 2014 at 10:54 AM, <Valdis.Kletnieks@...edu> wrote:
> You want a patch, or you got it already?
>
If you could submit it formally, this would be great , thanks !
diff --git a/net/sched/sch_fq_codel.c b/net/sched/sch_fq_codel.c
index b9ca32ebc1de..1e52decb7b59 100644
--- a/net/sched/sch_fq_codel.c
+++ b/net/sched/sch_fq_codel.c
@@ -94,7 +94,7 @@ static unsigned int fq_codel_classify(struct sk_buff
*skb, struct Qdisc *sch,
TC_H_MIN(skb->priority) <= q->flows_cnt)
return TC_H_MIN(skb->priority);
- filter = rcu_dereference(q->filter_list);
+filter = rcu_dereference_bh(q->filter_list);
if (!filter)
return fq_codel_hash(q, skb) + 1;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists