mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
b5898b804f
Yukon II generated corrupted TCP checksum for short TCP packets that's less than 60 bytes in size(e.g. window probe packet, pure ACK packet etc). Padding the frame with zeros to make the frame minimum ethernet frame size didn't work at all. Instead of dropping Tx checksum offload support we calculate TCP checksum with S/W method when we encounter short TCP frames. Fortunately it seems that short UDP datagrams appear to be handled correctly by Yukon II. While I'm here simplify ethernet/VLAN header size calculation logic. PR: 111384 |
||
---|---|---|
.. | ||
if_msk.c | ||
if_mskreg.h |