• Auke Kok's avatar
    ixgbe: Correctly obtain protocol information on transmit · 41825d71
    Auke Kok authored
    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: default avatarAuke Kok <auke-jan.h.kok@intel.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    41825d71
ixgbe_main.c 80.6 KB