svn commit: r307217 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Oct 13 13:53:02 UTC 2016
Author: tuexen
Date: Thu Oct 13 13:53:01 2016
New Revision: 307217
URL: https://svnweb.freebsd.org/changeset/base/307217
Log:
Mark the socket as un-writable when it is 1-to-1 and the SCTP association
is freed.
MFC after: 1 month
Modified:
head/sys/netinet/sctp_pcb.c
Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c Thu Oct 13 13:38:14 2016 (r307216)
+++ head/sys/netinet/sctp_pcb.c Thu Oct 13 13:53:01 2016 (r307217)
@@ -4870,6 +4870,7 @@ sctp_free_assoc(struct sctp_inpcb *inp,
SS_ISCONNECTED);
}
socantrcvmore_locked(so);
+ socantsendmore(so);
sctp_sowwakeup(inp, so);
sctp_sorwakeup(inp, so);
SCTP_SOWAKEUP(so);
More information about the svn-src-all
mailing list