]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbaf897aa8e10d9df6b1edf7e02c47a4c3b7c6dd
tree3713a581f160487805ee72b8e84772e17cb23793
parenta1c47013d8fb0392381e1fd9c0a06b85a4d3c286
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