opnsense-src/sys/dev/hyperv
Gleb Smirnoff d74b7baeb0 ifnet_byindex() actually requires network epoch
Sweep over potentially unsafe calls to ifnet_byindex() and wrap them
in epoch.  Most of the code touched remains unsafe, as the returned
pointer is being used after epoch exit.  Mark that with a comment.

Validate the index argument inside the function, reducing argument
validation requirement from the callers and making V_if_index
private to if.c.

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D33263
2021-12-06 09:32:31 -08:00
..
hvsock socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled. 2021-04-23 01:13:25 +03:00
netvsc ifnet_byindex() actually requires network epoch 2021-12-06 09:32:31 -08:00
pcib Hyper-V: vPCI: Prepopulate device bars 2021-11-27 06:42:34 +00:00
storvsc Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
utilities sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vmbus hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR 2021-11-19 17:30:05 -05:00