]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
To overcome hardware checksum offload bug msk(4) used to compute
authoryongari <yongari@FreeBSD.org>
Fri, 7 Mar 2008 04:55:58 +0000 (04:55 +0000)
committeryongari <yongari@FreeBSD.org>
Fri, 7 Mar 2008 04:55:58 +0000 (04:55 +0000)
commit203bcbf2294c9307a4f5a32d3b9d7af15b0f8428
tree6cea6b7dfb3f69bdfef57c8e11f7b4e28e5f6110
parent6de20f8883ef98ddddd52292641151e20433c748
To overcome hardware checksum offload bug msk(4) used to compute
TCP/UDP checksum in driver for short frames. For frames that requires
hardware VLAN tag insertion, the checksum offload trick does not
work due to changes of checksum offset in mbuf after the VLAN tag.

Disable hardware checksum offload for VLAN interface to fix the bug.

Reported by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu >
Tested by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu >
MFC after: 5 days
sys/dev/msk/if_msk.c