From e091fba3dcc79c50abf7709f45c774b0f0579200 Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 1 Jul 2012 07:51:32 +0000 Subject: [PATCH] MFC r235554: Support SCTP_EOF also for 1-to-1 style sockets. git-svn-id: svn://svn.freebsd.org/base/stable/9@237891 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/netinet/sctp_output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index f83273853..083c06906 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -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); -- 2.45.0