Re: [PATCH net-next] net: avoid NULL deref in napi_get_frags()

2015-11-20 Thread David Miller
From: Eric Dumazet Date: Thu, 19 Nov 2015 12:11:23 -0800 > From: Eric Dumazet > > napi_alloc_skb() can return NULL. > We should not crash should this happen. > > Fixes: 93f93a440415 ("net: move skb_mark_napi_id() into core networking > stack") > Signed-off-by: Eric Dumazet Applied, thanks.

[PATCH net-next] net: avoid NULL deref in napi_get_frags()

2015-11-19 Thread Eric Dumazet
From: Eric Dumazet napi_alloc_skb() can return NULL. We should not crash should this happen. Fixes: 93f93a440415 ("net: move skb_mark_napi_id() into core networking stack") Signed-off-by: Eric Dumazet --- net/core/dev.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git