diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index f83273853a8d..083c06906f45 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -13610,8 +13610,7 @@ sctp_lower_sosend(struct socket *so, 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);