]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Fix jumbo frames error handling.
authorMichael Chan <mchan@broadcom.com>
Fri, 13 Feb 2009 00:54:13 +0000 (16:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Feb 2009 00:54:13 +0000 (16:54 -0800)
commitf79c3d9ae94c5caf18e99816d7acc12519b8bbbb
treea07d5c4aec13b1078f3c7b42cb3a1b1fdf37924f
parent8c74de3420b4622156ae163151d9ca71c7a132f6
bnx2: Fix jumbo frames error handling.

If errors are reported on a frame descriptor, we need to
account for the buffer pages that may have been used for this
error packet and recycle them.  Otherwise, we may get the wrong
pages for the next packet.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c