Module Name: src Committed By: riastradh Date: Thu Mar 27 11:00:50 UTC 2025
Modified Files: src/sys/kern: uipc_usrreq.c Log Message: unp_accept: Fix assertion in SS_ISCONNECTING case. This null test matches the assertion inside soisconnected. In this context, so2 must also be locked, and we no longer assert so directly here -- but the assertions never worked as far as I can tell since they were added in 2008, and soisconnected already asserts solocked(so2), so this is fine. (Not doing this via xfail test because it crashes the whole test bed when the assertion fires, but the test that tripped this assertion is coming shortly.) PR kern/59220: accept(2): null pointer deref To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/kern/uipc_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.