svn commit: r362876 - stable/12/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed Jul 1 21:59:19 UTC 2020
Author: tuexen
Date: Wed Jul 1 21:59:18 2020
New Revision: 362876
URL: https://svnweb.freebsd.org/changeset/base/362876
Log:
MFC r356378:
Don't mark the sendall iterator as being up if it could not be started.
Modified:
stable/12/sys/netinet/sctp_output.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/netinet/sctp_output.c
==============================================================================
--- stable/12/sys/netinet/sctp_output.c Wed Jul 1 21:57:40 2020 (r362875)
+++ stable/12/sys/netinet/sctp_output.c Wed Jul 1 21:59:18 2020 (r362876)
@@ -6932,7 +6932,7 @@ sctp_sendall(struct sctp_inpcb *inp, struct uio *uio,
(void *)ca, 0,
sctp_sendall_completes, inp, 1);
if (ret) {
- SCTP_PRINTF("Failed to initiate iterator for sendall\n");
+ inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP;
SCTP_FREE(ca, SCTP_M_COPYAL);
SCTP_LTRACE_ERR_RET_PKT(m, inp, NULL, NULL, SCTP_FROM_SCTP_OUTPUT, EFAULT);
return (EFAULT);
More information about the svn-src-all
mailing list