diff options
author | Eran Liberty <liberty@extricom.com> | 2010-07-08 00:54:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-08 00:54:54 +0200 |
commit | acbc0f039ff4b93da737c91937b7c70018ded39f (patch) | |
tree | 8139b01aaaaf6301f246b0c3b468ad8d4e8f55df /drivers/vhost | |
parent | net: sh_eth: add support for SH7757's ETHER (diff) | |
download | linux-acbc0f039ff4b93da737c91937b7c70018ded39f.tar.xz linux-acbc0f039ff4b93da737c91937b7c70018ded39f.zip |
gianfar: code cleanup
This patch relates to "[PATCH] gainfar.c : skb_over_panic
(kernel-2.6.32.15)"
While in 2.6.32.15 it actually fixed a bug here it merely cleans up
the previous attempts to fix the bug with a more coherent code.
Currently before queuing skb into the rx_recycle it is
"un-skb_reserve"-ed so when taken out in gfar_new_skb() it wont be
reserved twice.
This patch makes sure the alignment skb_reserve is done once, upon
allocating the skb and not when taken out of the rx_recycle
pool. Eliminating the need to undo anything before queue skb back to
the pool.
NOTE: This patch will compile and is fairly straight forward but I do
not have environment to test it as I did with the 2.6.32.15 fix.
Signed-off-by: Eran Liberty <liberty@extricom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions