Mark the socket as un-writable when it is 1-to-1 and the SCTP association

is freed.

MFC after:	1 month
This commit is contained in:
Michael Tuexen 2016-10-13 13:53:01 +00:00
parent 4c7fb0cf6e
commit 859422cc12

View File

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