<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-07-21T20:00:24Z</updated>
<entry>
<title>LinuxKPI: 802.11: always lock around (*set_{frag,rts}_threshold)</title>
<updated>2026-07-21T20:00:24Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-07-21T19:54:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d479b75a8944faeabb367d1234a9fc3fefa8df1'/>
<id>urn:sha1:5d479b75a8944faeabb367d1234a9fc3fefa8df1</id>
<content type='text'>
We would lock the downcalls during normal operation but not during
vap (vif) creation as there was no need for locking.
Add the missing locking there as drivers seem to always expect it
(by assertion) and cannot distinguish between state.
Add the assertions to the downcalls as we need both of them locked
and both of them can sleep.

PR:		296185 ("rtw89(4) freezes the system with INVARIANTS kernel")
Debugged by:	Artem Bunichev (temcbun gmail.com)
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>ptrace(2): add PT_GET_CHILDREN</title>
<updated>2026-07-20T20:19:12Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-07-17T14:57:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d3b7bbee9275d5a3c58a9e75d1fffc60a9333352'/>
<id>urn:sha1:d3b7bbee9275d5a3c58a9e75d1fffc60a9333352</id>
<content type='text'>
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D58315
</content>
</entry>
<entry>
<title>LinuxKPI: 802.11: stop ieee80211_start_tx_ba_session() if no HT supported</title>
<updated>2026-07-17T21:05:28Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-07-17T20:59:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a1600428e937a41b65869c78ce847f7cabbad24'/>
<id>urn:sha1:8a1600428e937a41b65869c78ce847f7cabbad24</id>
<content type='text'>
rtw89(4) would constantly try to start a TX BlockACK session even if no
HT or higher was available.  The only way to stop this (currently) is
to return -EINVAL instead of any other error.

Note: we should investigate if/when to call (*set_tid_config)() as that
will also offer the ability to forbid BA.

Sponsored by:	The FreeBSD Foundation
Reported by:	arved, bnovkov
Tested by:	bnovkov
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: add initial page pool support</title>
<updated>2026-07-17T15:48:54Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-07-17T11:02:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4795d3dbee71c463429e2901dad111fbc2d08fc'/>
<id>urn:sha1:e4795d3dbee71c463429e2901dad111fbc2d08fc</id>
<content type='text'>
Add an internal flag which is set by skb_mark_for_recycle() and upon
"skb_free" then selects whether the skb is freed or returned to the
page pool.
There will likely be more details to figure out once the LinuxKPI page
work is done and we support more of the page pool than the bare minimum.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: add reference counting to the skb</title>
<updated>2026-07-17T15:48:54Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb13e826ec45e11e964e1921d281e0a06ca5e152'/>
<id>urn:sha1:cb13e826ec45e11e964e1921d281e0a06ca5e152</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: add support for frags in linuxkpi_skb_copy()</title>
<updated>2026-07-17T15:48:53Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e4ec01603c4b1e0b0eb524f28f731eb5cb5f6dc'/>
<id>urn:sha1:1e4ec01603c4b1e0b0eb524f28f731eb5cb5f6dc</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: implement __skb_linearize()</title>
<updated>2026-07-17T15:48:53Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9de11cc26ab61d7f80e8af84dbc55d8cbd6f832d'/>
<id>urn:sha1:9de11cc26ab61d7f80e8af84dbc55d8cbd6f832d</id>
<content type='text'>
skb_linearize() is used by mt7921, mt7925, and in the general mt76 tx dma
code. __skb_linearize() is used in the general iwlwifi TX code but given
the way we currently create TX skbs in LinuxKPI 802.11 we never hit that
case.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: implement napi_build_skb()</title>
<updated>2026-07-17T15:48:53Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b36460e5ec4659d0fa14b35c9342c5a154b3db7d'/>
<id>urn:sha1:b36460e5ec4659d0fa14b35c9342c5a154b3db7d</id>
<content type='text'>
Implement napi_build_skb() around linuxkpi_build_skb().

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: add skb_put_zero()</title>
<updated>2026-07-17T15:48:53Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32c983449a7c802bf47578d5304c6d505db7821a'/>
<id>urn:sha1:32c983449a7c802bf47578d5304c6d505db7821a</id>
<content type='text'>
Add skb_put_zero() as a simple wrapper around __skb_put_zero().

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>LinuxKPI: skbuff: improve debugging</title>
<updated>2026-07-17T15:48:52Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2026-02-03T22:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5bcf7b99fcbe06d381525ffdd5027b846cdc1d3'/>
<id>urn:sha1:e5bcf7b99fcbe06d381525ffdd5027b846cdc1d3</id>
<content type='text'>
Deal with SKB_TRACE_FMT optional arguments; while here properly indent.

Add KASSERT to __skb_unlink() to catch incorrect skbuffs encountered
while debugging a wireless driver (which had other pre-conditions failing).

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
</feed>
