bnx2x: fix tunneling CSUM calculation
authorDmitry Kravkov <dmitry@broadcom.com>
Thu, 11 Jul 2013 12:48:21 +0000 (15:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jul 2013 18:48:06 +0000 (11:48 -0700)
commit1b4fc0e249d61916b8a525b0e7b3c028232457c9
tree41c74eca2e6cd7d3bf8033de7f1d0406679fd596
parenta8798a5c77c9981e88caef1373a3310bf8aed219
bnx2x: fix tunneling CSUM calculation

Since commit c957d09ffda417f6c8e3d1f10e2b05228607d6d7
"bnx2x: Remove sparse and coccinelle warnings"
driver provided wrong partial csum for HW in tunneing
scenarios.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: Pravin Shelar <pshelar@nicira.com>
CC: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Tested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c