Date: Sat, 5 Aug 2023 09:45:13 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 10b2b30670d7 - main - sctp: improve consistency Message-ID: <202308050945.3759jDjK059442@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=10b2b30670d7c389b26533aa43e8d0c3aef55ff3 commit 10b2b30670d7c389b26533aa43e8d0c3aef55ff3 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2023-08-05 09:29:23 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2023-08-05 09:29:23 +0000 sctp: improve consistency MFC after: 1 week --- sys/netinet/sctputil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index 6da4123308d4..136a2285c6d7 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -6118,7 +6118,7 @@ get_more_data: if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) { sctp_sblog(&so->so_rcv, control->do_not_ref_stcb ? NULL : stcb, SCTP_LOG_SBFREE, (int)cp_len); } - SCTP_SB_DECR(&so->so_rcv, (int)cp_len); + SCTP_SB_DECR(&so->so_rcv, cp_len); if ((control->do_not_ref_stcb == 0) && stcb) { atomic_subtract_int(&stcb->asoc.sb_cc, (int)cp_len);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308050945.3759jDjK059442>