svn commit: r363012 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Wed Jul 8 16:23:40 UTC 2020
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 {
More information about the svn-src-head
mailing list