CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/01/12 03:59:36
Modified files:
sys/kern : uipc_syscalls.c
Log message:
Use solock() instead solock_shared() within sys_getsockopt(). Otherwise
we acquiring kernel lock with mutex(9) held. This partially reverts
rev 1.205 of sys/kern/uipc_syscalls.c. Shared solock() is still fine for
getsockname(2) and getpeername(2).
Reported-by: [email protected]
ok kn@ claudio@
