Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

From: Cong Wang
Date: Wed Dec 30 2015 - 17:30:43 EST


On Wed, Dec 30, 2015 at 6:30 AM, Jacob Siverskog
<jacob@xxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Dec 30, 2015 at 2:26 PM, Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
>> How often can you trigger this bug ?
>
> Ok. I don't have a good repro to trigger it unfortunately, I've seen it just a
> few times when bringing up/down network interfaces. Does the trace
> give any clue?
>

A little bit. You need to help people to narrow down the problem
because there are too many places using skb->next and skb->prev.

Since you mentioned it seems related to network interface flip,
what network interfaces are you using? What's is your TC setup?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/