Push socket re-lock to the vnode(9) release path within unp_detach().
authormvs <mvs@openbsd.org>
Wed, 26 Jun 2024 12:23:36 +0000 (12:23 +0000)
committermvs <mvs@openbsd.org>
Wed, 26 Jun 2024 12:23:36 +0000 (12:23 +0000)
commitd1dd449e9dd6e2b9cdfa50c385fdf9d7c133c233
tree1814e0218102a05b770e52bbf169b38a7fc36d03
parent58086f61c2bbceb9bd469501dfd645fe464401dd
Push socket re-lock to the vnode(9) release path within unp_detach().
The only reason to re-lock dying `so' is the lock order with vnode(9)
lock, thus `unp_gc_lock' rwlock(9) could be taken after solock().

ok bluhm
sys/kern/uipc_usrreq.c