]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[PATCH] skge: dont use dev_alloc_skb for rx buffs
authorStephen Hemminger <shemminger@osdl.org>
Thu, 23 Mar 2006 19:07:24 +0000 (11:07 -0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Mar 2006 22:13:54 +0000 (17:13 -0500)
commitb5d56ddc3f839e94e97a3eb8afb4d0d64a9f2ef8
tree0b3f2130c6c1afbfc71ed55c19f12d31fb7ac22a
parent901ccefb2dd7fe6a9e750a68f990f2a7d76b78d2
[PATCH] skge: dont use dev_alloc_skb for rx buffs

The skge driver was using dev_alloc_skb which reserves space for the
Ethernet header. This unnecessary and it should just use alloc_skb,
also by using GFP_KERNEL during startup it won't run into problems when
a user asks for a huge ring size or mtu and potentially drains the
reserved atomic pool.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c