Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 879c722 ("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>
- Loading branch information