- Fix the one-2-one model to properly do a socantrecv()

Approved by:	re@freeBSD.org (Ken Smith)
This commit is contained in:
rrs 2007-10-06 13:23:42 +00:00
parent 869d9fdd01
commit 880e253277

View File

@ -4235,6 +4235,7 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfre
SS_ISCONNECTED);
}
SOCK_UNLOCK(so);
socantrcvmore(so);
sctp_sowwakeup(inp, so);
sctp_sorwakeup(inp, so);
SCTP_SOWAKEUP(so);