git: 3b9da3dcd11f - main - TCP RACK: avoid using uninitialized tot_idle variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jan 2025 17:43:39 UTC
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=3b9da3dcd11f3d73281383c4ba383a4fcc4b9bbe commit 3b9da3dcd11f3d73281383c4ba383a4fcc4b9bbe Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2025-01-01 17:42:00 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2025-01-01 17:42:00 +0000 TCP RACK: avoid using uninitialized tot_idle variable Reviewed by: rrs CID: 1540027 MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D48277 --- sys/netinet/tcp_stacks/rack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c index acd622814916..00c373ef0790 100644 --- a/sys/netinet/tcp_stacks/rack.c +++ b/sys/netinet/tcp_stacks/rack.c @@ -19994,7 +19994,8 @@ rack_output(struct tcpcb *tp) rack_exit_probertt(rack, cts); } } - } + } else + tot_idle = 0; if (rack_use_fsb && (rack->r_ctl.fsb.tcp_ip_hdr) && (rack->r_fsb_inited == 0) &&