svn commit: r360757 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu May 7 02:57:34 UTC 2020
Author: tuexen
Date: Thu May 7 02:57:33 2020
New Revision: 360757
URL: https://svnweb.freebsd.org/changeset/base/360757
Log:
MFC r356378: Improve SCTP iterator
Don't make the sendall iterator as being up if it could not be started.
Modified:
stable/11/sys/netinet/sctp_output.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_output.c
==============================================================================
--- stable/11/sys/netinet/sctp_output.c Thu May 7 02:55:08 2020 (r360756)
+++ stable/11/sys/netinet/sctp_output.c Thu May 7 02:57:33 2020 (r360757)
@@ -6926,7 +6926,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-stable-11
mailing list