freebsd-dev/sys/netpfil
Gleb Smirnoff c8ee75f231 Use network epoch to protect local IPv4 addresses hash.
The modification to the hash are already naturally locked by
in_control_sx.  Convert the hash lists to CK lists. Remove the
in_ifaddr_rmlock. Assert the network epoch where necessary.

Most cases when the hash lookup is done the epoch is already entered.
Cover a few cases, that need entering the epoch, which mostly is
initial configuration of tunnel interfaces and multicast addresses.

Reviewed by:		melifaro
Differential revision:	https://reviews.freebsd.org/D32584
2021-10-22 14:40:53 -07:00
..
ipfw pf: support dummynet 2021-09-24 11:41:25 +02:00
pf Use network epoch to protect local IPv4 addresses hash. 2021-10-22 14:40:53 -07:00