aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2023-08-05 09:29:23 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2023-08-05 09:29:23 +0000
commit10b2b30670d7c389b26533aa43e8d0c3aef55ff3 (patch)
treec71d999b39720279ebd1b40954d84f36373a700b /sys/netinet/sctputil.c
parente3771cc03419b69c8ee851c1ffa85230d0fde1d5 (diff)
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 1 insertions, 1 deletions
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);