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); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"