diff options
author | John Fastabend <john.fastabend@gmail.com> | 2016-01-10 21:38:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-11 17:39:44 -0500 |
commit | 3de03596dfeee48bc803c1d1a6daf60a459929f3 (patch) | |
tree | ce22e80c90b647f7750d754668078b16b3ecd6e0 /net/ipv4/ip_output.c | |
parent | 366f29311137ec9dc0cdd4ec675cc6fcaac104d6 (diff) |
net: pktgen: fix null ptr deref in skb allocation
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>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions