diff options
author | John Fastabend <john.fastabend@gmail.com> | 2016-01-10 21:38:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-31 11:29:00 -0800 |
commit | 4d90b0d1c15cf9daa3089faf163df75a68bba5b7 (patch) | |
tree | 6f612aacb047989e79a73e7a6c5de8f498136f7f /net/ipv6/ip6_output.c | |
parent | 8ece807074d09df2dc2a2ba12783cc5a36cb6cf2 (diff) |
net: pktgen: fix null ptr deref in skb allocation
[ Upstream commit 3de03596dfeee48bc803c1d1a6daf60a459929f3 ]
Fix possible null pointer dereference that may occur when calling
skb_reserve() on a null skb.
Fixes: 879c7220e82 ("net: pktgen: Observe needed_headroom of the device")
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions