[BNX2]: Fix UDP checksum verification
authorMichael Chan <mchan@broadcom.com>
Tue, 24 Jan 2006 00:09:51 +0000 (16:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2006 00:09:51 +0000 (16:09 -0800)
commitade2bfe7d1f0ea804d2e63209cc6318ad8bf17ae
tree56e646813dff69ebe6afa89077df4e25e74b4610
parentdda1e390bf9e2889a3abc48590a015b307637753
[BNX2]: Fix UDP checksum verification

Fix TCP/UDP checksum verification. Use status bits in the buffer
descriptor instead of the checksum value to verify rx checksum.
Using the checksum value will be incorrect if the UDP packet has
zero in the UDP checksum field.

Firmware update required for this fix.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h
drivers/net/bnx2_fw.h