]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit990ec3804bb9fd37fcce3e165c95e8b79a783aa3
treea07d5c4aec13b1078f3c7b42cb3a1b1fdf37924f
parent259436a505bedc59a0114f2d17fa56af71d94129
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