diff options
author | Ben Menchaca <ben@bigfootnetworks.com> | 2010-03-24 06:05:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-27 04:16:23 +0100 |
commit | a6d36d5689b1806a3365c909192e9f03a43a632b (patch) | |
tree | 19de0640cf7f9c8cf634ac2d1c334094303e5bd8 /drivers/net/tulip | |
parent | ixgbe: filter FIP frames into the FCoE offload queues (diff) | |
download | linux-a6d36d5689b1806a3365c909192e9f03a43a632b.tar.xz linux-a6d36d5689b1806a3365c909192e9f03a43a632b.zip |
gianfar: fix undo of reserve()
Fix undo of reserve() before RX recycle
gfar_new_skb reserve()s space in the SKB to align it. If an error occurs,
and the skb needs to be returned to the RX recycle queue, the current code
attempts to reset head, but did not reset tail. This patch remembers the
alignment amount, and reverses the reserve() when needed.
Signed-off-by: Ben Menchaca <ben@bigfootnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip')
0 files changed, 0 insertions, 0 deletions