opnsense-src/sys/dev/hyperv/netvsc
Justin Hibbits 8f31b879ec bpf: Add IfAPI analogue for bpf_peers_present()
An interface's bpf could feasibly not exist, in which case
bpf_peers_present() would panic from a NULL pointer dereference.  Solve
this by adding a new IfAPI that could deal with a NULL bpf, if such
could occur in the network stack.

Reviewed by:	zlei
Sponsored by:	Juniper Networks, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42082
2023-10-13 14:33:31 -04:00
..
hn_nvs.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
hn_nvs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
hn_rndis.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
hn_rndis.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_hn.c bpf: Add IfAPI analogue for bpf_peers_present() 2023-10-13 14:33:31 -04:00
if_hnreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_hnvar.h Hyper-V: hn: use VF's capabilities when it is attached 2023-09-04 10:40:11 +00:00
ndis.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00