summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_fcoe.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2010-05-18 16:00:03 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-18 19:44:17 -0700
commit0b746e08cd7fb35d80c184f8e3f4656aa1f1ae11 (patch)
tree7fc1c81ded8eb85c13efe47aea784218e6cd2457 /drivers/net/ixgbe/ixgbe_fcoe.c
parent622ccdf107bcb49c4d8fb65512652566d4c8928a (diff)
ixgbe: fix header len when unsplit packet overflows to data buffer
When in packet split mode, packet type is not recognized, and the packet is larger than the header size, the 82599 overflows the packet into the data area, but doesn't set the HDR_LEN field. We can safely assume the length is the current header size. This fixes an obscure corner case that can be triggered by non-ip packet headers or (more likely) by disabling the L2 packet recognition. Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_fcoe.c')
0 files changed, 0 insertions, 0 deletions