Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2020 16:23:40 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363012 - head/sys/netinet
Message-ID:  <202007081623.068GNe05062651@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Wed Jul  8 16:23:40 2020
New Revision: 363012
URL: https://svnweb.freebsd.org/changeset/base/363012

Log:
  Improve consistency.
  
  MFC after:		1 week

Modified:
  head/sys/netinet/sctp_input.c

Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c	Wed Jul  8 16:04:06 2020	(r363011)
+++ head/sys/netinet/sctp_input.c	Wed Jul  8 16:23:40 2020	(r363012)
@@ -5103,8 +5103,8 @@ process_control_chunks:
 				if (stcb->asoc.prsctp_supported == 0) {
 					goto unknown_chunk;
 				}
-				if (((asoc->idata_supported == 1) && (ch->chunk_type == SCTP_FORWARD_CUM_TSN)) ||
-				    ((asoc->idata_supported == 0) && (ch->chunk_type == SCTP_IFORWARD_CUM_TSN))) {
+				if (((stcb->asoc.idata_supported == 1) && (ch->chunk_type == SCTP_FORWARD_CUM_TSN)) ||
+				    ((stcb->asoc.idata_supported == 0) && (ch->chunk_type == SCTP_IFORWARD_CUM_TSN))) {
 					if (ch->chunk_type == SCTP_FORWARD_CUM_TSN) {
 						SCTP_SNPRINTF(msg, sizeof(msg), "%s", "FORWARD-TSN chunk received when I-FORWARD-TSN was negotiated");
 					} else {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007081623.068GNe05062651>