Don't re-lock sockets in uipc_shutdown().
authormvs <mvs@openbsd.org>
Thu, 2 May 2024 17:10:55 +0000 (17:10 +0000)
committermvs <mvs@openbsd.org>
Thu, 2 May 2024 17:10:55 +0000 (17:10 +0000)
commitdb2d50c399306fa5f4ec9e7ca1b40ac0056431fe
tree69866af1d77d2bdabb7a9232a26f9eea9580d01f
parent986b002c40dbe3ca91f8b84f0066a3f37a55585e
Don't re-lock sockets in uipc_shutdown().

No reason to lock peer. It can't be or became listening socket, both
sockets can't be in the middle of connecting or disconnecting.

ok bluhm
sys/kern/uipc_usrreq.c