]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c9e120f0ddff9e5f7244b3533f30b933ad186ed
tree326fb38f70b391291d5a170c1a3888f8bba6778b
parent81b04adfda49943c639c97c72a3e46218748d627
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