pktgen: use netdev_alloc_skb
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 27 Aug 2009 13:55:13 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:32:04 +0000 (23:32 -0700)
commite470757d6179eb8998881ac2706927d4d0cb0e54
treec330507799072717647df780169b01d83d7493f5
parent7d7bb1cf0ea7434230b3e3de49c24ff68666a72e
pktgen: use netdev_alloc_skb

netdev_alloc_skb is NUMA node aware.
Also, don't exhaust atomic emergency pool. Don't want pktgen
to cause OOM behaviour.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c