Date: Wed, 1 Jan 2025 17:43:39 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: 3b9da3dcd11f - main - TCP RACK: avoid using uninitialized tot_idle variable Message-ID: <202501011743.501HhdMV091093@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=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) &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501011743.501HhdMV091093>