opnsense-src/sys/dev/hyperv
Justin Hibbits c81dd8e5fe 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 includes a NULL check.  Since this API
is used in only a handful of locations, it reduces the the NULL check
scope over inserting the check into bpf_peers_present().

Sponsored by:	Juniper Networks, Inc.
MFC after:	1 week
2023-10-13 13:12:44 -04:00
..
hvsock sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
input sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netvsc bpf: Add IfAPI analogue for bpf_peers_present() 2023-10-13 13:12:44 -04:00
pcib hyperv/vmbus: Flip a message to only be emitted on failure 2023-09-11 16:51:46 +08:00
storvsc sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
utilities sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vmbus Hyper-V: vmbus: implementat bus_get_dma_tag in vmbus 2023-09-14 07:11:25 +00:00