[ Upstream commit3de03596df] Fix possible null pointer dereference that may occur when calling skb_reserve() on a null skb. Fixes:879c7220e8("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>
97 KiB
97 KiB