mirror of
https://github.com/opnsense/src.git
synced 2026-04-01 15:35:10 -04:00
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 |
||
|---|---|---|
| .. | ||
| hn_nvs.c | ||
| hn_nvs.h | ||
| hn_rndis.c | ||
| hn_rndis.h | ||
| if_hn.c | ||
| if_hnreg.h | ||
| if_hnvar.h | ||
| ndis.h | ||