diff options
author | Eric Dumazet <edumazet@google.com> | 2015-11-19 12:11:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-20 16:43:14 -0500 |
commit | e2f9dc3bd213792ac006e83f50a5453f23b8c354 (patch) | |
tree | 7c97168cccbbfbe77d52ce0c083fc3dff0d075c7 /net/core/net-traces.c | |
parent | b3d39a8805c5109dde960204806cf540e3be12fa (diff) |
net: avoid NULL deref in napi_get_frags()
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-traces.c')
0 files changed, 0 insertions, 0 deletions