]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bpf: Make BPF interop consistent with if_loop
authorSeth Hoffert <seth.hoffert@gmail.com>
Sun, 22 Oct 2023 14:12:45 +0000 (09:12 -0500)
committerMark Johnston <markj@FreeBSD.org>
Fri, 19 Apr 2024 18:48:37 +0000 (14:48 -0400)
commit2cb0fce24d64039090dc9243cdf0715ee80c91b1
tree89c960a624beac74996dfab0a01387ae52159c7c
parent2f44f86575f9cba5da28b762c359f7a806400744
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
sys/dev/iicbus/if_ic.c
sys/dev/wg/if_wg.c
sys/net/if_disc.c
sys/net/if_gif.c
sys/net/if_gre.c
sys/net/if_me.c
sys/net/if_tuntap.c
sys/netgraph/ng_iface.c