FreeBSD git weekly: 2026-10-12 to 2026-10-18

Introduction

This is a display of mostly-automatically-classified git commits from 2026-10-12 to 2026-10-18.

This report is still in progress.

DEBUG: This version of the report is primarily for checking the classifiers, and therefore contains extra information (in this colour).

Table of contents and commits per category:

(0) Highlighted commits (these are copies, not in stats)
1 7.1% Userland programs
0 0.0% Documentation
8 57.1% Hardware support
4 28.6% Networking
0 0.0% System administration
0 0.0% Libraries
0 0.0% Filesystems
0 0.0% Kernel
0 0.0% Build system
1 7.1% Internal organizational stuff
0 0.0% Testing
0 0.0% Style, typos, and comments
0 0.0% Contrib code
0 0.0% Reverted commits
0 0.0% Unclassified commits
14 100% total
Technical notes about this page

debug: info about the automatic classification

num % num changed stage
13 92.9% 0 03-filenames_plain1
1 7.1% 0 Manually-classified commits
0 0.0% 0 Unclassified commits

debug: more stats

num % stage
0 0.0% Misclassified commits
13 92.9% Classified commits, no corrections

debug: groups

0 0.0% num in revert
0 0.0% num in fixes
11 78.6% num in consecutive
11 78.6% Commits in groups

Highlighted commits

For extra visibility, these are copies of commits found in other sections. Most (if not all) come from the commit message containing "Relnotes:", or commits modifying UPDATING.

-- no commits in this category this week --

Userland programs

Commits about commands found in man section 1 (other than networking).

termcap: add missing capabilities to the xterm-ghostty entry
The entry was imported from the termcap source that Ghostty generates
with infotocap during its build.  To fit within 1023 bytes, the
conversion dropped a number of capabilities, most notably all color
support, so termcap consumers such as ls -G and ncurses applications
treated Ghostty as a monochrome terminal.

Split the entry into xterm-ghostty and a ghostty+common fragment, and
restore the following from Ghostty's terminfo definition:

 - colors: Co, pa, AF, AB, op, oc, ut, AX
 - keys: End, keypad Enter, F10-F12, back tab, mouse prefix
 - attributes: italics (ZH/ZR), invisible (mk), acsc map (ac)
 - misc: cb, ch, cv, SA/RA, r1, bs, NP, 5i

AF and AB use the plain 256-color form, like xterm-256color, because
termcap cannot express the conditional used by the terminfo entry.

Fixes:          https://cgit.freebsd.org/src/commit/?id=804f961c5cdd ("share/termcap: add xterm-ghostty entry")
MFC after:      1 week
3ceb5f150bc121f5e6a3e0cc8b289279338405a1 Xin LI 2026-10-12 07:51:43

debug: Commit manually moved from "unknown" to "userland".

Documentation

Man pages, release notes, etc.

-- no commits in this category this week --

Hardware support

Hardware drivers and architecture-specific code.

Commit group #0: iwm
iwm: add lock assertion checks

Add lock/unlock assertions to use in current and future code.

Differential Revision:  https://reviews.freebsd.org/D60400
b3ef4013a4fa75063930d0221a0bc50f95af0527 Adrian Chadd 2026-10-12 02:40:54

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: placeholders for HT rates, update some FW flags to openbsd

* update a flag to openbsd iwm
* lay down placeholder ht rate / MIMO config routines based on
  openbsd's updated init path

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60073
1f07bcd91de1d02d1adb8a1215945cd02f469489 Adrian Chadd 2026-10-12 02:41:12

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: bring over placeholder calibration information

Like openbsd at this commit, it's not being used anywhere yet.

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60074
b00a90df99f72c30bdeec17bb0fb0cd28342415d Adrian Chadd 2026-10-12 02:41:20

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: bring in the command table version code from openbsd

Parse the command table; same way as OpenBSD (ie, memcpy()
and not anything endianness happy.)

Nothing is using it yet.

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60075
65373e8d02391054eb867edaeb92348c6f2d4ff4 Adrian Chadd 2026-10-12 02:41:24

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: Intel 9000 series bits from OpenBSD

* Add basic SOC conf firmware command
* Configured with the same xtal latency as used by openbsd

Currently untested; will need to find a device.

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60076
b15ec53784f3be913d6b4711f8eb166584a7d791 Adrian Chadd 2026-10-12 02:50:40

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: add thermal cutoff to firmware command support

This is based on firmware capabilities.

Locally tested:

* Intel 7260, STA mode

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60077
e6ca3d05b93b5f36dde2873076d7bc29dbcd46d1 Adrian Chadd 2026-10-12 02:50:45

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: clear persistence bit on 9000 series NICs

From what I've gathered, this is to make sure that the firmware
clears state and is reloaded through hardware bring-up and
suspend/resume.

It may fix instability issues with the 9000 series NICs.
I'll need to test it out first.

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60078
7ce67909fa683b22546b2ec8d635db1582b56bca Adrian Chadd 2026-10-12 02:50:50

debug: classified in 03-filenames_plain1 by 'sys/dev/'


iwm: add MSI-X support

This brings over the MSI-X support from OpenBSD.
It's mostly untested at this point.

Locally tested:

* Intel 7260, STA mode (but I don't know yet if it used msi-x)

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60079
8f93ad70078a88710d34b371a4076191cfebc4f6 Adrian Chadd 2026-10-12 02:50:57

debug: classified in 03-filenames_plain1 by 'sys/dev/'

Networking

Network-related commands, library, and kernel.

pf: Drain the overload task before a vnet's rules are freed
pf_src_connlimit() queues an entry for pf_overload_task() when a
source exceeds max-src-conn or max-src-conn-rate and the rule has an
overload table.  The entry holds a pointer to the rule, and the task
runs from taskqueue_swi with the vnet of the queue.  Nothing drained
the task when the vnet went away: an entry queued just before could
be applied to a rule pf_unload_vnet_purge() had freed, or to a vnet
that was gone.

Drain the task at the start of pf_unload_vnet_purge(), before the
unlinked rules are freed.  No packet can queue another by then, as the
hooks are already removed.

Reviewed by:            kp
MFC after:              2 weeks
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60529
92d66a6b474fa6fe42fbe08002803d79a5af6594 R. Christian McDonald 2026-10-12 11:52:34

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'

Commit group #1: pf
pf: do not free the caller's ruleset when attaching a table fails

pfr_attach_table() takes a struct pf_ruleset * from its caller and, on its
own error paths, calls pfr_destroy_ktable() on the table it just made.  That
drops the table's reference on the ruleset and calls
pf_remove_if_empty_ruleset(), which may unlink and free the anchor the
ruleset is embedded in -- and then pfr_attach_table() returns NULL to a
caller still holding the pointer.

Reached from userland with DIOCADDRULE and a PF_ADDR_DYNIFTL source, after
DIOCSETLIMIT has lowered PF_LIMIT_TABLES to one item of headroom: the first
pfr_create_ktable() takes it and the root table's fails.

Hold a table reference on the ruleset for the duration instead, so the
ruleset outlives every failure path inside pfr_attach_table() and stays the
caller's to remove.

OK sashan@

Obtained from:  OpenBSD, gnezdo <gnezdo@openbsd.org>, e0a25791f4
Sponsored by:   Rubicon Communications, LLC ("Netgate")
25f04bf42786806e2661b7a09c283b83f568380a Kristof Provost 2026-10-12 08:00:11

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'


pf: check extension header length.

pf_walk_header6() advances the packet offset for each IPv6 extension
header.  It was not checked that this does not exceed the packet
length if no next header was processed.  When used with af-to rules,
this could trigger a panic: m_copydata: null mbuf.

from Acts1631; OK henning@ sashan@

MFC after:      1 week
Obtained from:  OpenBSD, bluhm <bluhm@openbsd.org>, 6d56112588
Sponsored by:   Rubicon Communications, LLC ("Netgate")
ccb19b359aae4b7e7315ad61d33d9a35d85849d1 Kristof Provost 2026-10-12 12:25:07

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'


pf: check AH header length.

pf_walk_header() advances the packet offset for each AH extension
header.  It was not checked that this does not exceed the packet
length if no next header was processed.  Fix it like in IPv6.

OK henning@ sashan@

MFC after:      1 week
Obtained from:  OpenBSD, bluhm <bluhm@openbsd.org>, fcd4e5522e
Sponsored by:   Rubicon Communications, LLC ("Netgate")
b4d2c9835c0edfddd1d6742afa86d4873ccfad16 Kristof Provost 2026-10-12 12:28:22

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'

System administration

Stuff in man section 8 (other than networking).

-- no commits in this category this week --

Libraries

-- no commits in this category this week --

Filesystems

-- no commits in this category this week --

Kernel

Kernel stuff (other than networking, filesystems, and drivers).

-- no commits in this category this week --

Build system

-- no commits in this category this week --

Internal organizational stuff

ObsoleteFiles.inc: <sys/kpilite.h> was removed
Reported by:    glebius
Fixes:          https://cgit.freebsd.org/src/commit/?id=e478037df4f1 ("systm.h: Remove unused <sys/kpilite.h>")
Sponsored by:   The FreeBSD Foundation
b42793d4bcdf73475b77a26c9dbacd45f8876621 Olivier Certner 2026-10-12 08:38:58

debug: classified in 03-filenames_plain1 by 'ObsoleteFiles.inc'

Testing

-- no commits in this category this week --

Style, typos, and comments

These could go in other categories, but it's more clear if they're here instead.

-- no commits in this category this week --

Contrib code

-- no commits in this category this week --

Reverted commits

-- no commits in this category this week --

Unclassified commits

Not classified automatically, and waiting for manual attention.

-- no commits in this category this week --

Technical notes

Dates:

Automatic grouping:

Automatic categories:

Source code:


Generated with commits-periodical 0.21 at 2026-10-12 16:57:44+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2026-10-12 (release)