Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2025 11:35:21 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>, 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:  <e2a959c9-4171-4296-9c62-fd605d50f15d@FreeBSD.org>
In-Reply-To: <r6pqp489-s4oq-0p8q-6r68-3931pss41s33@SerrOFQ.bet>
References:  <202502252048.51PKm4YX061305@gitrepo.freebsd.org> <r6pqp489-s4oq-0p8q-6r68-3931pss41s33@SerrOFQ.bet>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/25/25 21:23, Bjoern A. Zeeb wrote:
> 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.

Only in stable branches would we do that sort of thing though.  In main we
keep all the spares at the end and never use them (they are reserved so they
can be used for MFC of new fields in stable).

-- 
John Baldwin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2a959c9-4171-4296-9c62-fd605d50f15d>