svn commit: r356378 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jan 5 14:08:02 UTC 2020


Author: tuexen
Date: Sun Jan  5 14:08:01 2020
New Revision: 356378
URL: https://svnweb.freebsd.org/changeset/base/356378

Log:
  Don't make the sendall iterator as being up if it could not be started.
  
  MFC after:		1 week

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Sun Jan  5 14:06:40 2020	(r356377)
+++ head/sys/netinet/sctp_output.c	Sun Jan  5 14:08:01 2020	(r356378)
@@ -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-head mailing list