Unlock in_ioctl_get(), push kernel lock into in_ioctl_{set,change}_ifaddr()
authorkn <kn@openbsd.org>
Sat, 15 Apr 2023 13:24:47 +0000 (13:24 +0000)
committerkn <kn@openbsd.org>
Sat, 15 Apr 2023 13:24:47 +0000 (13:24 +0000)
commit23506624d9d022709a352d184f58a5c5789a4dcf
tree9dba74210ca29f6e5000b6c2489fae7bb4fd2543
parent3a5067a8ff10e0c8b434a8e66032cfcd0543a926
Unlock in_ioctl_get(), push kernel lock into in_ioctl_{set,change}_ifaddr()

Just like in6_ioctl_get(), read ioctls are safe with the shared net lock to
protect interface addresses and flags.

OK mvs
sys/netinet/in.c