d0d9d8ef59
Currently the skb->protocol field is used to setup checksum offloading on transmit for the correct protocol. However, if vlan offloading is disabled or otherwise not used, the protocol field will be ETH_P_8021Q, not the actual protocol. This will cause the checksum to be not computed correctly, even though the hardware is capable of looking inside vlan tags. Instead, look inside the header if necessary to determine the correct protocol type. To some extent this fixes a regression from 2.6.36 because it was previously not possible to disable vlan offloading and this error case was not exposed. Signed-off-by: Hao Zheng <hzheng@nicira.com> CC: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bnx2x_cmn.c | ||
bnx2x_cmn.h | ||
bnx2x_dump.h | ||
bnx2x_ethtool.c | ||
bnx2x_fw_defs.h | ||
bnx2x_fw_file_hdr.h | ||
bnx2x_hsi.h | ||
bnx2x_init_ops.h | ||
bnx2x_init.h | ||
bnx2x_link.c | ||
bnx2x_link.h | ||
bnx2x_main.c | ||
bnx2x_reg.h | ||
bnx2x_stats.c | ||
bnx2x_stats.h | ||
bnx2x.h | ||
Makefile |