Fix inline vlan-tag handling of forwarded LRO packets from ix(4)
authorjan <jan@openbsd.org>
Thu, 27 Jul 2023 20:21:25 +0000 (20:21 +0000)
committerjan <jan@openbsd.org>
Thu, 27 Jul 2023 20:21:25 +0000 (20:21 +0000)
commitd1dd674394e26782b4b514c396291cce34071e5c
tree9b05f4ffef85a87c42eab3a851efdccab01e8a10
parent505a4c3431df84a171fd8fa30b28616439059ae7
Fix inline vlan-tag handling of forwarded LRO packets from ix(4)

Implement vlan-tag parsing ether_extract_header() to use this information
to adjust the MSS calculation of LRO packets.

pointed out by mbuhl and bluhm

with tweaks from bluhm

ok bluhm@
sys/dev/pci/if_ix.c
sys/net/if_ethersubr.c
sys/netinet/if_ether.h