<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet/cc, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>netinet: remove _WANT_INPCB and _WANT_TCPCB</title>
<updated>2026-03-12T16:37:53+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-03-12T04:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=815ef05284d184d83613adcf60def403607be6a0'/>
<id>815ef05284d184d83613adcf60def403607be6a0</id>
<content type='text'>
These were hacks since FreeBSD 12 that provided some transition period for
utilities to migrate from reading kernel memory via kvm(3) to sysctl(3)
based APIs.  The transition period is over.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These were hacks since FreeBSD 12 that provided some transition period for
utilities to migrate from reading kernel memory via kvm(3) to sysctl(3)
based APIs.  The transition period is over.
</pre>
</div>
</content>
</entry>
<entry>
<title>netinet: Use proper prototype for SYSINIT functions</title>
<updated>2025-10-13T10:12:33+00:00</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-10-13T10:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6613b6ad1ecc5384c119018b9b27c18bd7516e3f'/>
<id>6613b6ad1ecc5384c119018b9b27c18bd7516e3f</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>mod_cc(4): Fix a typo in a source code comment</title>
<updated>2025-08-25T08:39:11+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2025-08-25T08:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=88ed58d7f88471dc69e943e94d420cd4ef090042'/>
<id>88ed58d7f88471dc69e943e94d420cd4ef090042</id>
<content type='text'>
- s/assigments/assignments/

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/assigments/assignments/

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>cc_cubic: sync to the new specification of RFC9438 for TCP CUBIC.</title>
<updated>2025-06-16T16:52:46+00:00</updated>
<author>
<name>Cheng Cui</name>
<email>cc@FreeBSD.org</email>
</author>
<published>2025-03-27T17:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2f579635f6726b2eb3e7f622985fde1abcd0d82'/>
<id>a2f579635f6726b2eb3e7f622985fde1abcd0d82</id>
<content type='text'>
Reviewed by: rscheff
Differential Revision: https://reviews.freebsd.org/D49540
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: rscheff
Differential Revision: https://reviews.freebsd.org/D49540
</pre>
</div>
</content>
</entry>
<entry>
<title>tcp cc: use tcp_compute_pipe() for pipe in xx_post_recovery() directly</title>
<updated>2025-03-17T13:00:50+00:00</updated>
<author>
<name>Cheng Cui</name>
<email>cc@FreeBSD.org</email>
</author>
<published>2025-03-05T16:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a8d2bccb87d0738c91f7e6a080375ae276e4c7d5'/>
<id>a8d2bccb87d0738c91f7e6a080375ae276e4c7d5</id>
<content type='text'>
This follows up with commit 67787d200488, and obsoletes the non-default
pipe calculation from commit 46f584823798 nearly 25 years ago.

Reviewed by: rscheff
Differential Revision: https://reviews.freebsd.org/D49247
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This follows up with commit 67787d200488, and obsoletes the non-default
pipe calculation from commit 46f584823798 nearly 25 years ago.

Reviewed by: rscheff
Differential Revision: https://reviews.freebsd.org/D49247
</pre>
</div>
</content>
</entry>
<entry>
<title>tcp: make inflight data (pipe) calculation consistent</title>
<updated>2025-02-28T20:53:12+00:00</updated>
<author>
<name>Cheng Cui</name>
<email>cc@FreeBSD.org</email>
</author>
<published>2025-02-21T20:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=67787d200488f0d838b20b0f483d1ca08ff6c014'/>
<id>67787d200488f0d838b20b0f483d1ca08ff6c014</id>
<content type='text'>
Reviewed by: glebius, rrs, tuexen
Differential Revision: https://reviews.freebsd.org/D49047
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: glebius, rrs, tuexen
Differential Revision: https://reviews.freebsd.org/D49047
</pre>
</div>
</content>
</entry>
<entry>
<title>cc_cubic: remove redundant code</title>
<updated>2025-02-20T16:00:41+00:00</updated>
<author>
<name>Cheng Cui</name>
<email>cc@FreeBSD.org</email>
</author>
<published>2025-02-14T16:00:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f9ef5c75fd18fadcd2a74c2c489f218d7611208'/>
<id>7f9ef5c75fd18fadcd2a74c2c489f218d7611208</id>
<content type='text'>
During my progress on updating cc_cubic to RFC9438, found such redundancy as:

- W_est: we use the alternative stack local variable `W_est` in
	 `cubic_ack_received()`.
- cwnd_prior: it is used for Reno-Friendly Region in RFC9438 Section 4.3,
	 but we use the alternative cwnd from NewReno for Reno-Friendly as
	 in commit ee45061051715be4704ba22d2fcd1c373e29079d.

No functional change intended.

Reviewed by: rscheff, tuexen
Differential Revision: https://reviews.freebsd.org/D49008
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During my progress on updating cc_cubic to RFC9438, found such redundancy as:

- W_est: we use the alternative stack local variable `W_est` in
	 `cubic_ack_received()`.
- cwnd_prior: it is used for Reno-Friendly Region in RFC9438 Section 4.3,
	 but we use the alternative cwnd from NewReno for Reno-Friendly as
	 in commit ee45061051715be4704ba22d2fcd1c373e29079d.

No functional change intended.

Reviewed by: rscheff, tuexen
Differential Revision: https://reviews.freebsd.org/D49008
</pre>
</div>
</content>
</entry>
<entry>
<title>cc_cubic: remove redundant calls of tcp_fixed_maxseg()</title>
<updated>2025-02-12T22:49:21+00:00</updated>
<author>
<name>Cheng Cui</name>
<email>cc@FreeBSD.org</email>
</author>
<published>2025-02-12T16:41:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6156da866e7db8dab36b96ac4f4e38f75e41200d'/>
<id>6156da866e7db8dab36b96ac4f4e38f75e41200d</id>
<content type='text'>
Summary: No functional change intended.

Reviewed by: rscheff, tuexen

Subscribers: imp, melifaro, glebius

Differential Revision: https://reviews.freebsd.org/D48967
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: No functional change intended.

Reviewed by: rscheff, tuexen

Subscribers: imp, melifaro, glebius

Differential Revision: https://reviews.freebsd.org/D48967
</pre>
</div>
</content>
</entry>
<entry>
<title>tcp: Use segment size excluding tcp options for all cwnd calculations</title>
<updated>2024-11-14T09:16:57+00:00</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2024-11-14T09:03:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=22dcc81293854c4d39df639a329fecded175b2b0'/>
<id>22dcc81293854c4d39df639a329fecded175b2b0</id>
<content type='text'>
Avoid sending small segments by making sure that cwnd is usually
calculated in full (data) segment sizes. Especially during loss
recovery and retransmission scenarios.

Reviewed By: tuexen, #transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47474
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid sending small segments by making sure that cwnd is usually
calculated in full (data) segment sizes. Especially during loss
recovery and retransmission scenarios.

Reviewed By: tuexen, #transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47474
</pre>
</div>
</content>
</entry>
<entry>
<title>tcp cc: Remove a stray semicolon</title>
<updated>2024-10-24T15:04:50+00:00</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-10-24T15:04:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f395cfda8b5c1dc267e9cd4d99d7d0862fb4fca'/>
<id>2f395cfda8b5c1dc267e9cd4d99d7d0862fb4fca</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
</feed>
