Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2012 07:51:32 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r237891 - stable/9/sys/netinet
Message-ID:  <201207010751.q617pWB9074673@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sun Jul  1 07:51:32 2012
New Revision: 237891
URL: http://svn.freebsd.org/changeset/base/237891

Log:
  MFC r235554:
  Support SCTP_EOF also for 1-to-1 style sockets.

Modified:
  stable/9/sys/netinet/sctp_output.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_output.c
==============================================================================
--- stable/9/sys/netinet/sctp_output.c	Sun Jul  1 07:49:14 2012	(r237890)
+++ stable/9/sys/netinet/sctp_output.c	Sun Jul  1 07:51:32 2012	(r237891)
@@ -13610,8 +13610,7 @@ skip_preblock:
 dataless_eof:
 	/* EOF thing ? */
 	if ((srcv->sinfo_flags & SCTP_EOF) &&
-	    (got_all_of_the_send == 1) &&
-	    (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) {
+	    (got_all_of_the_send == 1)) {
 		int cnt;
 
 		SCTP_STAT_INCR(sctps_sends_with_eof);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207010751.q617pWB9074673>