Date: Thu, 17 May 2012 17:02:47 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r235554 - head/sys/netinet Message-ID: <201205171702.q4HH2ln6007808@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Thu May 17 17:02:47 2012 New Revision: 235554 URL: http://svn.freebsd.org/changeset/base/235554 Log: Support SCTP_EOF also for 1-to-1 style sockets. MFC after: 3 days Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ============================================================================== --- head/sys/netinet/sctp_output.c Thu May 17 15:45:00 2012 (r235553) +++ head/sys/netinet/sctp_output.c Thu May 17 17:02:47 2012 (r235554) @@ -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?201205171702.q4HH2ln6007808>