net: pktgen: Observe needed_headroom of the device

Allocate enough space so as not to force the outgoing net device to do
skb_realloc_headroom().

Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Bogdan Hamciuc 2015-07-29 12:45:58 +03:00 • committed by David S. Miller
commit 879c7220e8