]> git.baikalelectronics.ru Git - kernel.git/commit
korina: adjust headroom for new skb's also
authorPhil Sutter <n0-1@freewrt.org>
Thu, 15 Jan 2009 12:29:56 +0000 (12:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 00:23:00 +0000 (16:23 -0800)
commitf675493ec1a311e516f59b42ef2f848f130307a3
tree6213f4aa1c84fae5ef7e7db78ef065707cfcec3a
parentbe0de137d08a588c71e67daa72722539a084b266
korina: adjust headroom for new skb's also

This is copy and paste from the original driver. As skb_reserve() is
also called within korina_alloc_ring() when initially allocating the
receive descriptors, the same should be done when allocating new space
after passing an skb to upper layers.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/korina.c