HomeFreeBSD

genet: add another case where headers need pullup

Description

genet: add another case where headers need pullup

Wake On LAN packets sent by wake(8) via BPF are lost if txcsum is
enabled. These fall into the "other protocol" case where gen_parse_tx
did nothing. Add code to shift up to gen_tx_hdr_min bytes of the
packet along with the Ethernet header in this case.

Details

Provenance
karelsAuthored on Oct 25 2022, 7:23 PM
Parents
rG6b69465efb48: vfs_domount(): ensure that v_mountedhere and VIRF_MOUNTPOINT are set under the…
Branches
Unknown
Tags
Unknown