Support SCTP_EOF also for 1-to-1 style sockets.
MFC after: 3 days
This commit is contained in:
parent
f9125c3ec9
commit
8b42cfa708
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user