diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2021-10-10 10:02:26 -0700 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-11 13:28:10 +0200 |
commit | 94c33ba9920922e05f2dd4c384eaa01f91a58408 (patch) | |
tree | 096d670445341ebb592dedb81b4a06c8b716dec5 /bsps/i386/pc386/console/console_select.c | |
parent | routing: fix source address selection rules for IPv4 over IPv6. (diff) | |
download | rtems-94c33ba9920922e05f2dd4c384eaa01f91a58408.tar.bz2 |
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
Diffstat (limited to 'bsps/i386/pc386/console/console_select.c')
0 files changed, 0 insertions, 0 deletions