mirror of
https://github.com/opnsense/src.git
synced 2026-03-05 14:50:41 -05: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 |
||
|---|---|---|
| .. | ||
| hvsock | ||
| include | ||
| input | ||
| netvsc | ||
| pcib | ||
| storvsc | ||
| utilities | ||
| vmbus | ||