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

Reply via email to