[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151229.150843.2021692616139434395.davem@davemloft.net>
Date: Tue, 29 Dec 2015 15:08:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rweikusat@...ileactivedefense.com
Cc: jacob@...nage.engineering, netdev@...r.kernel.org,
herbert@...dor.apana.org.au, edumazet@...gle.com,
khlebnikov@...dex-team.ru, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Fix potential NULL pointer dereference in
__skb_try_recv_datagram
From: Rainer Weikusat <rweikusat@...ileactivedefense.com>
Date: Tue, 29 Dec 2015 19:42:36 +0000
> Jacob Siverskog <jacob@...nage.engineering> writes:
>> This should fix a NULL pointer dereference I encountered (dump
>> below). Since __skb_unlink is called while walking,
>> skb_queue_walk_safe should be used.
>
> The code in question is:
...
> __skb_unlink is only called prior to returning from the function.
> Consequently, it won't affect the skb_queue_walk code.
Agreed, this patch doesn't fix anything.
--
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