diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-05-17 17:02:47 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-05-17 17:02:47 +0000 |
commit | 23a2415932a8ec2badb0feeea9f6afb27d5eb260 (patch) | |
tree | 15ca35a04dbf45366f607a6c17f5671038312ba9 /sys/netinet/sctp_output.c | |
parent | 36ef5534f7dd3c3e411fcd33bd766ce877ea8ac2 (diff) | |
download | FreeBSD-src-23a2415932a8ec2badb0feeea9f6afb27d5eb260.zip FreeBSD-src-23a2415932a8ec2badb0feeea9f6afb27d5eb260.tar.gz |
Support SCTP_EOF also for 1-to-1 style sockets.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_output.c')
-rw-r--r-- | sys/netinet/sctp_output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index f832738..083c069 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); |