]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6f6340e13b85894a94241eab2a3a1c21805c1d7
tree86c9b13748cf6b7878d37487309f979b7eba68a0
parentb0874d15852e3690b1edc5acd1143a5c4fbf9eaf
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