Keep `fdp' locked until we finish the second loop of unp_externalize().
authormvs <mvs@openbsd.org>
Mon, 11 Apr 2022 18:18:17 +0000 (18:18 +0000)
committermvs <mvs@openbsd.org>
Mon, 11 Apr 2022 18:18:17 +0000 (18:18 +0000)
commit30b5b25bb25518f8e01439e2aa53f33c272ed3ef
tree46900a1cf64d0d3c43eba9c6074068063ff73866
parentf4cbd45462ff3fcee71305e6ecbebbc8960f9da4
Keep `fdp' locked until we finish the second loop of unp_externalize().
This prevents descriptors from being closed concurrently on receiver side.

ok bluhm@ claudio@
sys/kern/uipc_usrreq.c