be2net: Fix CSO for UDP packets
authorSomnath Kotur <somnath.kotur@emulex.com>
Mon, 25 Oct 2010 01:11:58 +0000 (01:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 19:14:10 +0000 (12:14 -0700)
commitc6ce2f4b270cb1d4d6b6f4f692a12ca2fea13f3f
tree326fb38f70b391291d5a170c1a3888f8bba6778b
parent63a76944b674bb758232e4213da0da95ae055012
be2net: Fix CSO for UDP packets

We're setting skb->ip_summed to CHECKSUM_NONE for all non-TCP pkts, making the stack
recompute checksum.This is a bug for UDP pkts for which cso must be used.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c