Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2025 02:23:46 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Michael Tuexen <tuexen@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org,  dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 0e58542fd246 - main - tcp: remove unused field from  struct tcpcb
Message-ID:  <r6pqp489-s4oq-0p8q-6r68-3931pss41s33@SerrOFQ.bet>
In-Reply-To: <202502252048.51PKm4YX061305@gitrepo.freebsd.org>
References:  <202502252048.51PKm4YX061305@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Feb 2025, Michael Tuexen wrote:

> The branch main has been updated by tuexen:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=0e58542fd246242bc64bd03d8b2f28cf981c062b
>
> commit 0e58542fd246242bc64bd03d8b2f28cf981c062b
> Author:     Peter Lei <peterlei@netflix.com>
> AuthorDate: 2025-02-25 20:37:48 +0000
> Commit:     Michael Tuexen <tuexen@FreeBSD.org>
> CommitDate: 2025-02-25 20:37:48 +0000
>
>    tcp: remove unused field from struct tcpcb
>
>    Reviewed by:    tuexen
>    Sponsored by:   Netflix, Inc.
> ---
> sys/netinet/tcp_var.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
> index e65e44840bd8..31663ed48f81 100644
> --- a/sys/netinet/tcp_var.h
> +++ b/sys/netinet/tcp_var.h
> @@ -452,7 +452,6 @@ struct tcpcb {
> 	tcp_seq gput_seq;		/* Outbound measurement seq */
> 	tcp_seq gput_ack;		/* Inbound measurement ack */
> 	int32_t t_stats_gput_prev;	/* XXXLAS: Prev gput measurement */
> -	uint32_t t_maxpeakrate;		/* max peak rate set by user, bytes/s */

Is the tcpcb no longer KBI relevant these days?
In the old days we'd simply make this a spare and not move all offsets
below around.

> 	uint32_t t_sndtlppack;		/* tail loss probe packets sent */
> 	uint64_t t_sndtlpbyte;		/* total tail loss probe bytes sent */
> 	uint64_t t_sndbytes;		/* total bytes sent */
>

-- 
Bjoern A. Zeeb                                                     r15:7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r6pqp489-s4oq-0p8q-6r68-3931pss41s33>