svn commit: r310216 - stable/11/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Dec 18 12:52:54 UTC 2016


Author: tuexen
Date: Sun Dec 18 12:52:52 2016
New Revision: 310216
URL: https://svnweb.freebsd.org/changeset/base/310216

Log:
  MFC r307217:
  
  Mark the socket as un-writable when it is 1-to-1 and the SCTP association
  is freed.

Modified:
  stable/11/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/11/sys/netinet/sctp_pcb.c	Sun Dec 18 12:49:24 2016	(r310215)
+++ stable/11/sys/netinet/sctp_pcb.c	Sun Dec 18 12:52:52 2016	(r310216)
@@ -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