bnx2x: fix UDP checksum for 57710/57711.
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 27 Feb 2013 00:04:59 +0000 (00:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2013 18:10:35 +0000 (13:10 -0500)
commite2593fcde1d906b26b81b38755749f7427f3439f
tree716935ae00770149832a4f44c564703333e04bcb
parent90c7881ecee1f08e0a49172cf61371cf2509ee4a
bnx2x: fix UDP checksum for 57710/57711.

Since commit 86564c3f "bnx2x: Remove many sparse warnings" UDP
csum offload is broken for 57710/57711. Fix return value.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
CC: Ariel Elior <ariele@broadcom.com>
CC: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c