Date: Thu, 13 Oct 2016 13:53:01 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307217 - head/sys/netinet Message-ID: <201610131353.u9DDr1Le064043@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610131353.u9DDr1Le064043>