mirror of
https://github.com/opnsense/src.git
synced 2026-03-04 22:32:37 -05:00
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 (cherry picked from commit 8f31b879ecaf9e738dba631df4606742ee404e8e) bpf: Prefer the boolean form when calling bpf_peers_present() Reviewed by: markj, kp, #network MFC with: 8f31b879ecaf Differential Revision: https://reviews.freebsd.org/D45509 (cherry picked from commit 89204d9dcbe28558fae65936a0e93f44d926b88f) |
||
|---|---|---|
| .. | ||
| 00README | ||
| firewire.c | ||
| firewire.h | ||
| firewire_phy.h | ||
| firewirereg.h | ||
| fwcrom.c | ||
| fwdev.c | ||
| fwdma.c | ||
| fwdma.h | ||
| fwmem.c | ||
| fwmem.h | ||
| fwohci.c | ||
| fwohci_pci.c | ||
| fwohcireg.h | ||
| fwohcivar.h | ||
| fwphyreg.h | ||
| iec13213.h | ||
| iec68113.h | ||
| if_fwe.c | ||
| if_fwevar.h | ||
| if_fwip.c | ||
| if_fwipvar.h | ||
| sbp.c | ||
| sbp.h | ||
| sbp_targ.c | ||