svn commit: r247927 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu Mar 7 20:06:28 UTC 2013


Author: tuexen
Date: Thu Mar  7 20:06:27 2013
New Revision: 247927
URL: http://svnweb.freebsd.org/changeset/base/247927

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

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

Modified: stable/8/sys/netinet/sctp_output.c
==============================================================================
--- stable/8/sys/netinet/sctp_output.c	Thu Mar  7 20:04:05 2013	(r247926)
+++ stable/8/sys/netinet/sctp_output.c	Thu Mar  7 20:06:27 2013	(r247927)
@@ -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);


More information about the svn-src-all mailing list