HomeFreeBSD

bpf: Make BPF interop consistent with if_loop

Description

bpf: Make BPF interop consistent with if_loop

The pseudo_AF_HDRCMPLT check is already being done in if_loop and
just needed to be ported over to if_ic, if_wg, if_disc, if_gif,
if_gre, if_me, if_tuntap and ng_iface. This is needed in order to
allow these interfaces to work properly with e.g., tcpreplay.

PR: 256587
Reviewed by: markj
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/876

Details

Provenance
Seth Hoffert <seth.hoffert@gmail.com>Authored on Oct 22 2023, 2:12 PM
markjCommitted on Apr 19 2024, 6:48 PM
Parents
rG2f44f86575f9: install: Fix a compiler warning when bootstrapping
Branches
Unknown
Tags
Unknown