<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet, branch releng/13.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-02-09T23:12:49Z</updated>
<entry>
<title>inpcb: Restore some NULL checks of credential pointers</title>
<updated>2024-02-09T23:12:49Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-02-07T14:43:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e6382c1eda5ea4451a64ec69fd8a92f621aca55'/>
<id>urn:sha1:3e6382c1eda5ea4451a64ec69fd8a92f621aca55</id>
<content type='text'>
At least one out-of-tree port (net-mgmt/ng_ipacct) depends on being able
to call in_pcblookup_local() with cred == NULL, so the MFC of commit
ac1750dd143e ("inpcb: Remove NULL checks of credential references")
broke compatibility.

Restore a subset of the NULL checks to avoid breaking the module in the
13.3 release.  This is a direct commit to stable/13.

PR:		276868
Approved by:	re (cperciva)

(cherry picked from commit fe8df7ed1aae444a09361c080d52bfcb6aaae64f)
</content>
</entry>
<entry>
<title>tcp_fastopen: Fix a typo in a source code comment</title>
<updated>2024-01-25T06:50:04Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-01-22T20:49:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c940246eb0d193529bdbefc03c0cc0549e57d73a'/>
<id>urn:sha1:c940246eb0d193529bdbefc03c0cc0549e57d73a</id>
<content type='text'>
- s/posession/possession/

(cherry picked from commit 9b035689f15fc4aec96f9c18c6c86bd615faed2f)
</content>
</entry>
<entry>
<title>tcp_hpts: Fix a typo of a function name in a comment</title>
<updated>2024-01-23T06:46:14Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-01-20T16:29:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=95847cc26f798beff413024e7daaab03f7eaacf9'/>
<id>urn:sha1:95847cc26f798beff413024e7daaab03f7eaacf9</id>
<content type='text'>
- s/tcp_ouput/tcp_output/

(cherry picked from commit ef0ac0a1ad6750291b881203030384b7f7241efb)
</content>
</entry>
<entry>
<title>inpcb: Allow SO_REUSEPORT_LB to be used in jails</title>
<updated>2024-01-22T18:45:03Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-11-02T17:08:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=535984471641c9435854ed23a80e49a8bf0e53b0'/>
<id>urn:sha1:535984471641c9435854ed23a80e49a8bf0e53b0</id>
<content type='text'>
Currently SO_REUSEPORT_LB silently does nothing when set by a jailed
process.  It is trivial to support this option in VNET jails, but it's
also useful in traditional jails.

This patch enables LB groups in jails with the following semantics:
- all PCBs in a group must belong to the same jail,
- PCB lookup prefers jailed groups to non-jailed groups

This is a straightforward extension of the semantics used for individual
listening sockets.  One pre-existing quirk of the lbgroup implementation
is that non-jailed lbgroups are searched before jailed listening
sockets; that is preserved with this change.

Discussed with:	glebius
MFC after:	1 month
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37029

(cherry picked from commit d93ec8cb1324d04d7cae19fb7fa98ade2ff33c80)
</content>
</entry>
<entry>
<title>inpcb: Remove a PCB from its LB group upon a subsequent error</title>
<updated>2024-01-22T18:45:03Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-11-02T17:05:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ea32f0e83769ca1c6ebc40fb0a3a0e64a24e7a0'/>
<id>urn:sha1:0ea32f0e83769ca1c6ebc40fb0a3a0e64a24e7a0</id>
<content type='text'>
If a memory allocation failure causes bind to fail, we should take the
inpcb back out of its LB group since it's not prepared to handle
connections.

Reviewed by:	glebius
MFC after:	2 weeks
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37027

(cherry picked from commit a152dd863418638c3eb08b5c101b10b82f8072f5)
</content>
</entry>
<entry>
<title>inpcb: Remove NULL checks of credential references</title>
<updated>2024-01-22T18:45:03Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-11-02T17:03:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e27fcf057937ef93258dc4f8e67a308e02f349c'/>
<id>urn:sha1:3e27fcf057937ef93258dc4f8e67a308e02f349c</id>
<content type='text'>
Some auditing of the code shows that "cred" is never non-NULL in these
functions, either because all callers pass a non-NULL reference or
because they unconditionally dereference "cred".  So, let's simplify the
code a bit and remove NULL checks.  No functional change intended.

Reviewed by:	glebius
MFC after:	1 week
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37025

(cherry picked from commit ac1750dd143e53225c518bc1ca0462c3fffe10f6)
</content>
</entry>
<entry>
<title>sys: Use mbufq_empty instead of comparing mbufq_len against 0</title>
<updated>2024-01-18T22:37:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-01-09T19:00:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3c274e9efb46330e87ad36619c79cadedd776664'/>
<id>urn:sha1:3c274e9efb46330e87ad36619c79cadedd776664</id>
<content type='text'>
Reviewed by:	bz, emaste
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43338

(cherry picked from commit 8cb9b68f5821e45c63ee08d8ee3029ca523ac174)
</content>
</entry>
<entry>
<title>sys: Style fix for M_EXT | M_EXTPG</title>
<updated>2024-01-18T22:35:37Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-12-28T19:17:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1f42294456d7d3cb3724e1a9a79c0a89a51c24a'/>
<id>urn:sha1:b1f42294456d7d3cb3724e1a9a79c0a89a51c24a</id>
<content type='text'>
Add a space around the | operator in places testing for either M_EXT
or M_EXTPG.

Reviewed by:	imp, glebius
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D43216

(cherry picked from commit f7d5900aa063c6e9d19e6372ba981fc76aa326a2)
</content>
</entry>
<entry>
<title>tcp: prevent spurious empty segments and fix uncommon panic</title>
<updated>2024-01-15T05:22:17Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2024-01-08T08:25:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04719681ba76a0756492b42313ea744503b78358'/>
<id>urn:sha1:04719681ba76a0756492b42313ea744503b78358</id>
<content type='text'>
Only try sending more data on pure ACKs when there is
more data available in the send buffer.

In the case of a retransmitted SYN not being sent due to
an internal error, the snd_una/snd_nxt accounting could
be off, leading to a panic. Pulling snd_nxt up to snd_una
prevents this from happening.

Reported by:           fengdreamer@126.com
Reviewed by:           cc, tuexen, #transport
MFC after:             1 week
Sponsored by:          NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D43343

(cherry picked from commit f4574e2dc5a4719379496338257526aba484751b)
</content>
</entry>
<entry>
<title>sctp: minor clean</title>
<updated>2024-01-12T17:50:11Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2023-11-06T10:04:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fab809a67d2328dd369fb9013fe63d01bbd5d982'/>
<id>urn:sha1:fab809a67d2328dd369fb9013fe63d01bbd5d982</id>
<content type='text'>
No functional change intended.

(cherry picked from commit 3bbbfc8dcd3622b49907e359c8e9682def0bae25)
</content>
</entry>
</feed>
