Remove bogus assert that I added in r319722. It is a legitimate case
to call soabort() on a newborn socket created by sonewconn() in case if further setup of PCB failed. Code in sofree() handles such socket correctly. Submitted by: jtl, rrs MFC after: 3 weeks
This commit is contained in:
parent
ba9633beef
commit
3b6c9cd9d4
@ -1174,7 +1174,6 @@ soabort(struct socket *so)
|
||||
KASSERT(so->so_count == 0, ("soabort: so_count"));
|
||||
KASSERT((so->so_state & SS_PROTOREF) == 0, ("soabort: SS_PROTOREF"));
|
||||
KASSERT(so->so_state & SS_NOFDREF, ("soabort: !SS_NOFDREF"));
|
||||
KASSERT(so->so_qstate == SQ_NONE, ("soabort: !SQ_NONE"));
|
||||
VNET_SO_ASSERT(so);
|
||||
|
||||
if (so->so_proto->pr_usrreqs->pru_abort != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user