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
..
2021-08-08 10:16:06 +02:00
2020-11-29 13:41:49 +00:00
2020-11-22 20:21:10 +00:00
2021-11-12 08:59:42 -08:00
2021-10-28 07:12:23 +02:00
2021-05-31 05:48:15 +02:00
2020-09-24 12:26:06 +00:00
2020-09-24 12:26:06 +00:00
2021-12-04 19:16:18 +01:00