svn commit: r235554 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu May 17 17:02:47 UTC 2012
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);
More information about the svn-src-head
mailing list