vmxnet3: use netdev_alloc_skb_ip_align
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 15 Jan 2013 07:28:26 +0000 (07:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2013 19:40:48 +0000 (14:40 -0500)
commit0d735f13d8842d94ea8236baf12db3bea7daaf98
tree3713a581f160487805ee72b8e84772e17cb23793
parent8c174e6f77b37fcbd84d7c3b6d65414fbb444219
vmxnet3: use netdev_alloc_skb_ip_align

Use netdev_alloc_skb_align, rather than open code using dev_alloc_skb.
Change allocation at startup to use GFP_KERNEL.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c