aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorEran Liberty <liberty@extricom.com>2010-07-07 18:54:54 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-07 18:54:54 -0400
commitacbc0f039ff4b93da737c91937b7c70018ded39f (patch)
tree8139b01aaaaf6301f246b0c3b468ad8d4e8f55df /drivers/net/mv643xx_eth.c
parentf29a3d040727a80c3307a2bea057206be049c305 (diff)
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/net/mv643xx_eth.c')
0 files changed, 0 insertions, 0 deletions