svn commit: r237891 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jul 1 07:51:32 UTC 2012


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);


More information about the svn-src-all mailing list