diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2023-08-21 21:45:19 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2023-08-21 21:45:19 +0000 |
commit | d8672d114d3852307246041f6f400b0d072ab7a9 (patch) | |
tree | 41ce75c878cf86372c53119273644078eb791a0c /share | |
parent | 9f639e3b0fdb78e53ca534bc62695e837424dace (diff) |
Fix receiving VLAN packets if LRO is enabled on ix(4).
The vlan packet bit is only valid for the last descriptor's receive
status. When receiving just one buffer per packet, it makes no
difference, but with LRO there are multiple descriptors. Checking
only the first one resulted in VLAN headers being stripped and large
packets appear as regular on ix interface. Move the code setting
vlan tag from first to last descriptor.
bug reported and fix tested by Hrvoje Popovski
OK jan@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions