Reference the socket we're accepting.
This commit is contained in:
parent
2689f8b40e
commit
bb76739de0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user