OpenBSD cvs log

created 2022-11-24T23:54:09Z
begin 2022-11-08T20:41:36Z
end 2022-11-08T21:07:33Z
path src/sys
commits 1

date 2022-11-08T21:07:33Z
author kn
files src/sys/net/if.c log diff annotate
message Revert lock changes inside ifioctl_get()

WITNESS isn't happy with r1.667 "Push kernel lock into ifioctl_get()", so
revert it (including r1.668 and r1.669 depending on it):

witness: userret: returning with the following locks held:
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82455f58)
#0 witness_lock+0x311
#1 ifioctl_get+0x2e
#2 sys_ioctl+0x2c4
#3 syscall+0x384
#4 Xsyscall+0x128
panic: witness_warn
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 70588 52613 0 0x3 0 4K pfctl

So back to the drawing board while leaving documentation bits (r1.670).
Thanks Hrvoje.