Reference the socket we're accepting.

This commit is contained in:
Benno Rice 2002-09-14 08:56:10 +00:00
parent e6e24ff9cd
commit fcfa0b48b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103313

View File

@ -1203,6 +1203,8 @@ ng_ksocket_finish_accept(priv_p priv)
/* XXX KNOTE(&head->so_rcv.sb_sel.si_note, 0); */
soref(so);
so->so_state &= ~SS_COMP;
so->so_state |= SS_NBIO;
so->so_head = NULL;