[Cake] [PATCH 1/4] sched: Avoid dereferencing skb pointer after child enqueue

Cong Wang xiyou.wangcong at gmail.com
Tue Jan 8 20:38:55 EST 2019


On Mon, Jan 7, 2019 at 11:50 AM Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> @@ -1254,7 +1256,7 @@ static int qfq_enqueue(struct sk_buff *skb, struct Qdisc *sch,
>         if (cl->qdisc->q.qlen != 1) {
>                 if (unlikely(skb == cl->qdisc->ops->peek(cl->qdisc)) &&


Isn't this comparison problematic too? While you are on it...


More information about the Cake mailing list