net: pktgen: Observe needed_headroom of the device
authorBogdan Hamciuc <bogdan.hamciuc@freescale.com>
Wed, 29 Jul 2015 09:45:58 +0000 (12:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:00:39 +0000 (23:00 -0700)
commit879c7220e828af8bd82ea9d774c7e45c46b976e4
tree86c9b13748cf6b7878d37487309f979b7eba68a0
parent92a99bf3bae7c1267db87bb3e3babda2c6dcc8a7
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>
net/core/pktgen.c