]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Correctly obtain protocol information on transmit
authorAuke Kok <auke-jan.h.kok@intel.com>
Tue, 12 Feb 2008 23:20:33 +0000 (15:20 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 15 Feb 2008 15:52:08 +0000 (10:52 -0500)
commit56079ac6e0413ab10b9d1722126a092b14671754
tree39e0bdb0c8436cf95e4443c928675ca52b3f3533
parent688339c45f8f40355d8059daf3033c5eb96faf91
ixgbe: Correctly obtain protocol information on transmit

In reply to "RE: [Fwd: [PATCH 2.6.25] ixgbe/igb: correctly obtain protocol
information on transmit]" from Andy Gospodarek:

The driver was incorrectly looking at socket headers for
protocol information, needed for checksumming offload. Fix
this by not looking at the socket but frame headers instead.

This disregards extension headers but it's unclear that linux
generates those anyway.

Tested by Andy Gospodarek.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixgbe/ixgbe_main.c