This is a display of mostly-automatically-classified git commits from 2026-10-19 to 2026-10-25.
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) | |
| 7 | 5.3% | Userland programs |
| 15 | 11.5% | Documentation |
| 31 | 23.7% | Hardware support |
| 18 | 13.7% | Networking |
| 21 | 16.0% | System administration |
| 2 | 1.5% | Libraries |
| 0 | 0.0% | Filesystems |
| 18 | 13.7% | Kernel |
| 4 | 3.1% | Build system |
| 2 | 1.5% | Internal organizational stuff |
| 0 | 0.0% | Testing |
| 5 | 3.8% | Style, typos, and comments |
| 6 | 4.6% | Contrib code |
| 2 | 1.5% | Reverted commits |
| 0 | 0.0% | Unclassified commits |
| 131 | 100% | total |
| Technical notes about this page |
debug: info about the automatic classification
| num | % | num changed | stage |
|---|---|---|---|
| 2 | 1.5% | 0 | 00-reverts |
| 5 | 3.8% | 0 | 01-style |
| 18 | 13.7% | 0 | 02-filenames_wildcards |
| 67 | 51.1% | 0 | 03-filenames_plain1 |
| 32 | 24.4% | 0 | 04-filenames_plain2 |
| 3 | 2.3% | 0 | 05-summary-prefix |
| 4 | 3.1% | 0 | Manually-classified commits |
| 0 | 0.0% | 0 | Unclassified commits |
debug: more stats
| num | % | stage |
|---|---|---|
| 0 | 0.0% | Misclassified commits |
| 127 | 96.9% | Classified commits, no corrections |
debug: groups
| 2 | 1.5% | num in revert |
| 2 | 1.5% | num in fixes |
| 29 | 22.1% | num in consecutive |
| 33 | 25.2% | Commits in groups |
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 --
Commits about commands found in man section 1 (other than networking).
c30a321a61ce accidentally modified the code paths when diffing regular files to not diff them if `-q` was specified. Call `diffreg(..)` again, regardless of whether or not `-q` was specified to restore the functionality pre-c30a321a61ce, while only printing out the result to the console if `-q` is not specified. This change unbreaks diff so 2 files which differ are reported again via the exit code when with `-q` is specified. MFC after: 3 days PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299643 Reviewed by: des Differential Revision: https://reviews.freebsd.org/D60910 Fixes: https://cgit.freebsd.org/src/commit/?id=c30a321a61ce ("diff: support -qq to output absolutely nothing")
debug: classified in
04-filenames_plain2 by
'usr.bin/'
servconf_add_hostkey() compares its file argument to defaultkey by pointer to skip an unreadable default key; the ML-DSA-44 entry passed the "[default]" literal, so the skip (and the "No host key files found" fallback) never applied to it. MFC after: 1 week Reviewed by: emaste Fixes: https://cgit.freebsd.org/src/commit/?id=bb5c77e9d281 ("OpenSSH: Update to 10.4p1") Differential Revision: https://reviews.freebsd.org/D60922
debug: Commit manually moved from "unknown" to "userland".
mkimg: Use reallocf
Reviewed by: ngie
Suggested by: ngie
Improves: 1a0523197c5c ("mkimg: Check for realloc failure")
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D60419
debug: classified in
04-filenames_plain2 by
'usr.bin/'
mkimg: Don't ignore invalid partition offsets When handling PART_KIND_FILE, the "error" variable is set to reflect any errors in parsing the specified offset; but that value is then overwritten by the return value of image_copyin. Error out immediately instead. Note that it is not necessary to change the code in PART_KIND_SIZE which parses the size, since in that case we do not overwrite the value in "error". Fixes: https://cgit.freebsd.org/src/commit/?id=8f3c71c85e5f ("mkimg: Add support for offset if the source is an image") MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60422
debug: classified in
04-filenames_plain2 by
'usr.bin/'
mkimg: Add per-partition alignment This adds a "%align" field to partition specifications, resulting in the start of a partition being shifted to the next aligned position. When both :offset and %align are used, a relative offset is treated as a minimum value, while an unaligned absolute offset is an error. Reviewed by: imp (earlier version) MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60450
debug: classified in
04-filenames_plain2 by
'usr.bin/'
Fixes: https://cgit.freebsd.org/src/commit/?id=459a61fd2d0a ("Add the ability to specify absolute and relative offsets to size partitions.") MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60452
debug: classified in
04-filenames_plain2 by
'usr.bin/'
Partitions are trivially aligned to sector boundaries, so asking e.g. for a partition to be aligned to a 64-byte boundary is pointless but harmless. Treat it as such, with a warning (in case the request was a mistake, e.g. requesting 1-byte instead of 1M-byte alignment) rather than as an error. Reviewed by: markj Suggested by: markj MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60819
debug: classified in
04-filenames_plain2 by
'usr.bin/'
Man pages, release notes, etc.
Manual pages have an optional architecture specifier after the section number in the document title macro. I highly recommend using it when expedient, the extra information is available programmatically and it uses no extra lines in the rendered page. MFC after: No, pmc.perf.3 is not MFCing Reviewed by: Anderson Nascimento <anascime@amd.com> Differential Revision: https://reviews.freebsd.org/D60714
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
I recently learned that you can restart just wlan0 instead of the entire netif, which will save you when doing on-device networking like bhyve, or activting wlan0 when it is booted parked via rc.conf's NOAUTO. MFC after: 3 days Reviewed by: bz, bcr Discussed with: emaste Differential Revision: https://reviews.freebsd.org/D59586
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
MFC after: 3 days Reported by: fuz Reviewed by: fuz Differential Revision: https://reviews.freebsd.org/D59730
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
This driver now supports powerpc64, so add that to the list of supported hardware. Further, rewrite that list into the canonical HARDWARE section for inclusion in the FreeBSD 16.0 Hardware Release Note. markj notes that it would be useful to list the CPU features required for this driver to be usable on these platforms. ngie notes that this would be good as a table. Fixes: https://cgit.freebsd.org/src/commit/?id=5daf8ed625af ("Add GCM support on powerpc64/powerpc64le") MFC after: the above was scheduled to but has not mfc yet Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D59770
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60701
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
Reviewed by: imp (earlier version) MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60451
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
Restructure the description of -s flag: 1. what the option does 2. why it is useful (deterministic order, streaming output) 3. how its results can differ from `find | sort' Reviewed by: ziaee MFC after: 3 days
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
Sponsored by: The FreeBSD Foundation MFC after: 3 days
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
The database stores bytes, not characters. Remove the historical note about 7-bit storage. Also document that -i ignores case only for ASCII letters. Reviewed by: ziaee MFC after: 3 days
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
manpages: Fix unusual Xr order
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
manpages: Fix unusual Xr order
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
manpages: Fix unusual Xr order
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
manpages: Fix unusual Xr order
debug: classified in
02-filenames_wildcards by
'.*\.[1-9]'
Hardware drivers and architecture-specific code.
Map the packet QoS value to a TID before looking it up in the per node + TID AMPDU state array. The TX A-MPDU state used to be per-AC, but I changed it to be per-TID because it /is/ negotiated per-TID. However this is not aligned correctly and A-MPDU on eg the voice queue would cause a mismatch and thus packets to get dropped. (TIDs 8..15 are special and session based, not traffic QoS based.) I noticed this because "ssh host" failed after a while, but "telnet host 22" succeeded. It turned out that frames weren't making it to the driver transmit path and I traced it back to being dropped here. Traffic worked for a while until A-MPDU TX was negotiated, and then all traffic on a TID would fail until the 802.11 association was re-established. Locally tested: * iwn 6205, STA mode - forced traffic into VO AC/TID MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60848
debug: classified in
03-filenames_plain1 by
'sys/dev/'
nvme: add a timeout for Format NVM commands Format commands need a longer timeout. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59827
debug: classified in
03-filenames_plain1 by
'sys/dev/'
nvme: support per-request timeouts Allow different timeouts per command. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59828
debug: classified in
03-filenames_plain1 by
'sys/dev/'
nvme: honor Linux passthrough command timeouts Now that we have per-command timeouts, allow linux-compat ioctls to have a passed-in timeout. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59829
debug: classified in
03-filenames_plain1 by
'sys/dev/'
nvme: Refactor namespace notifications for additions When we add a namespace, we have the code inline to do the notifications. Refactor ahead or reuse. Reviewed by: seuros Differential Revision: https://reviews.freebsd.org/D59831
debug: classified in
03-filenames_plain1 by
'sys/dev/'
nvme: Notify namespaces on reset sometimes When we're resetting after a controller failure, and we fix the failure, and we've not resetting as part of initialization, notify the all the children devices of new namespaces. When we failed the controller before, we removed all the namespaces. Reviewed by: seuros Differential Revision: https://reviews.freebsd.org/D59832
debug: classified in
03-filenames_plain1 by
'sys/dev/'
D59889 brings up a FreeBSD/loongarch64 EFI loader, none of it in this tree yet. Add a disabled config entry (excluded from -A, usable via -a once the port lands) using the confirmed QEMU virt/la464 recipe; hw/loongarch/virt.c defaults to virtio-blk/net, so the existing generic EFI+GPT builder needs no arch-specific QEMU code. loongarch64 has never had a FreeBSD release, so install_minimal_userland's ISO extraction can never find one. Split it into ISO and installworld-cross-build paths, selected by a new no_release capability, so archs without a release can still get a minimal userland. Differential Revision: https://reviews.freebsd.org/D59923
debug: Commit manually moved from "unknown" to "hardware".
Triggering is only needed if device is in mmap mode, and in mmap example the device is triggered as part of syncgroup. For non-mmap mode, triggering is not needed at all. Triggering mmap'ed device too early would start the IPTR/OPTR counters and that would cause those pointers to be out of sync, so let syncgroup do the triggering once the device is fully configured and ready for capture and playback. MFC after: 1 week Reviewed by: christos Differential Revision: https://reviews.freebsd.org/D60839
debug: classified in
05-summary-prefix by 'sound
examples:'
Recognize Intel 8086:7e25 using 32-bit MMIO with a four-byte register stride. Deassert the LPSS functional resets and program the 100 MHz reference clock divider for a 44.2368 MHz UART clock before the UART core claims the register window, and reprogram both on resume. Reviewed by: imp, adrian Differential Revision: https://reviews.freebsd.org/D60858
debug: classified in
03-filenames_plain1 by
'sys/dev/'
The Intel Low Power Subsystem wraps its I2C, SPI and UART functions in a block of private registers that control the functional clock and the function and DMA resets. Refactored to use a single header Reviewed by: imp, adrian Differential Revision: https://reviews.freebsd.org/D60859
debug: classified in
03-filenames_plain1 by
'sys/dev/'
vmm doesn't implement it, and bhyve simply aborts. I fixed this in commit c83e075d72f6, but it'll still be impossible to boot newer FreeBSD guests on older hosts without this workaround. Reviewed by: adrian Fixes: https://cgit.freebsd.org/src/commit/?id=2272fac218a8 ("hwpmc: Add support for AMD-only IRPERF in hwpmc PERF class") Differential Revision: https://reviews.freebsd.org/D60730
debug: classified in
03-filenames_plain1 by
'sys/amd64/'
The clock framework can sleep, it takes the clock topology sx lock. Calling clk_set_freq() and clk_get_freq() from rk_spi_hw_setup() with the driver mutex held triggers a witness warning about a sleepable lock acquired after a non-sleepable one, on the first transfer that raises the clock. Set the clock in a new function that is called before taking the lock, and only keep the register setup under the lock.
debug: classified in
03-filenames_plain1 by
'sys/dev/'
We don't have anything to tunnel without INET or INET6, so just smack it with the same config(5) hammer that ovpn uses and exclude it from such builds. Reported by: mjg Reviewed by: emaste, markj Differential Revision: https://reviews.freebsd.org/D60896
debug: classified in
03-filenames_plain1 by
'sys/dev/'
This is a port of the bits related to vlapic-enablement of the following bhyve improvement from illumos: 14598 bhyve vlapic should handle APICBASE changes https://www.illumos.org/issues/14598 A LAPIC can be enabled/disabled in two ways: - by the global-enable bit in the APICBASE MSR - by the software-enable bit in the APIC's SVR register This change allows distinguishing between both forms of enablement where that matters. The more involved changes to allow guests to modify the APICBASE MSR are not included at this time. Reviewed by: corvink, markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D56347
debug: classified in
03-filenames_plain1 by
'sys/amd64/'
- Use pending_mutex to synchronize several state flags. In particular, ensure that two threads can't race to open the device file at the same time.[1] - Fix an off-by-one in hv_kvp_dev_daemon_read() that would result in a one-byte OOB read if the caller supplied a large enough read buffer.[2] - Change the device permissions to 0600: hv_kvp_dev_daemon_read() returns an error until the owning process registers itself with a write, so there's no sense in providing read-only access. - Use bool instead of boolean_t. - Don't return negative error numbers to userspace. - Call seldrain() when closing the device. Reported by: pixelpop [1][2] MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60387
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Preemption should happen last so that other IPIs have a chance to be executed in due course, in particular hardclockintr(). So, move handling of IPI_PREEMPT at the end. Reduce the critical section to be in force only around hardclockintr(), which needs it to execute entirely without preemption (because of code it calls that can enter a critical section; interrupts are already disabled in this handler, as usual). The critical_exit() following hardclockintr() may cause preemption if due. If that happens, there is no need to preempt again on IPI_PREEMPT, so make sure sched_preempt() is not called in this case. This fixes inadvertent removal of the optimization that sched_preempt() should be called outside of a critical section to perform an immediate context switch in the case of IPI_HARDCLOCK and IPI_PREEMPT being handled at the same time. While here, move IPI_AST handling just before IPI_PREEMPT. We currently do not need to do anything for it, but if we were to, it is likely that would have to happen after other IPIs but IPI_PREEMPT. Reviewed by: kib Fixes: https://cgit.freebsd.org/src/commit/?id=ff326a187907 ("x86: Restore the critical section around ...") MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60861
debug: classified in
03-filenames_plain1 by
'sys/x86/'
x86: ipi_bitmap_handler(): Account for IPIs correctly on COUNT_IPIS A preemption could occur before the updates to the initial CPU's IPI counters, leading to a potential non-atomic updates of these counters from another CPU. Reviewed by: kib Fixes: https://cgit.freebsd.org/src/commit/?id=ff326a187907 ("x86: Restore the critical section (...)") MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60862
debug: classified in
03-filenames_plain1 by
'sys/x86/'
x86/mp_x86.c: unbreak COUNT_IPIS Fixes: https://cgit.freebsd.org/src/commit/?id=3a0e2ca3eecd ("x86: ipi_bitmap_handler(): Account for IPIs correctly on COUNT_IPIS")
debug: classified in
03-filenames_plain1 by
'sys/x86/'
Preemption should happen last so that other IPIs have a chance to be executed in due course, in particular hardclockintr(). So, move handling of IPI_PREEMPT at the end. An IPI_STOP/IPI_STOP_HARD request should be processed immediately to avoid risks that further processing changes the system state on panic, or worse itself causes another panic on corrupted kernel state. While here, move IPI_AST handling just before IPI_PREEMPT. We currently do not need to do anything for it, but if we were to, it is likely that would have to happen after other IPIs but IPI_PREEMPT. Reviewed by: jhibbits Fixes: https://cgit.freebsd.org/src/commit/?id=9d5a22b928c2 ("MFp4: SMP support") Fixes: https://cgit.freebsd.org/src/commit/?id=12640815f815 ("MFp4: SMP support") Fixes: https://cgit.freebsd.org/src/commit/?id=7ed09a6778d3 ("powerpc: Rework IPI message processing") MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60863
debug: classified in
03-filenames_plain1 by
'sys/powerpc/'
Map complete EFI descriptor ranges at the kernel page granularity and merge compatible entries when 4K EFI regions share a kernel page. Preserve execution when any sharing region requires it and reject conflicting mapping attributes without panicing. This gets my small N1 booting with 16K pages. Reviewed by: chs, imp Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D60749
debug: classified in
03-filenames_plain1 by
'sys/arm64/'
makeobjops.awk only accepts an uppercase DEFAULT before a default kobj method. This commit fixes a typo introduced in 949804c81909 so non-PCI drivers actually use nvme_is_storage_device_default instead of kobj_error_method. Note that even though kobj_error_method returns ENXIO (6), it does not get implicitly cast to a bool due to the function pointer casting in the nvme_if.h generated by makeobjops. Instead the codegen for the NVME_IS_STORAGE_DEVICE callsite shows that only the lowest bit is being checked as if it were always a bool. Without this any nvme driver that doesn't implement is_storage_device is not treated as a storage device. Reviewed by: imp, kevans Differential Revision: https://reviews.freebsd.org/D60112
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Add a simplebus-based pseudo-bus that matches the "reserved-memory" node in the device tree. Update the SCMI shared memory driver so that it can attach either as a child of mmio_sram or directly under simplebus (via the new reserved-memory bus). Make the mmio_sram memory resource shareable so both attachment methods can coexist when required. MFC after: 1 week Reviewed by: manu
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Driver provides an interface for tools operating on adapters' Non-Volatile Memory using SIOC(G|S)DRVSPEC ioctls. It allows tools to issue Admin Queue commands to the firmware, which may return an error code encoded as a negative integer. The driver passed this negative integer as the return value of the ioctl handler. This was causing issues because the FreeBSD kernel reserves negative error codes in system calls for special purposes such as restarting the handler or detecting incorrect behavior in VFS operations. Simple remapping of negative values to positive integers caused currently available tools to misbehave and could break the NVM update process. Introduce a new API version, which allows new versions of tools to detect the fixed driver. Temporarily keep the old API, but issue a warning that tools need to be updated. Also refactor the code to use centralized cleanup and move the debug message from the firmware earlier to make sure it is not masked by an error from copyout. Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com> Tested by: Mateusz Moga <mateusz.moga@intel.com> MFC after: 2 weeks Assisted by: Copilot GPT 5.4 Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D57942
debug: classified in
03-filenames_plain1 by
'sys/dev/'
smsc: Remove phy address check in smsc_miibus_writereg The driver only allowed writes to the expected phy (i.e., sc->sc_phyno), and reads were never filtered. sc_phyno is already passed to mii_attach() as phyloc, so nothing tries to issue MDIO writes to other addresses and the check is not required. Remove the check in advance of supporting external PHYs at arbitrary addresses. Tested on Microchip's EVB-LAN9500A-LC LAN9500A evaluation board. Sponsored by: The FreeBSD Foundation Sponsored by: Microchip (Hardware) Differential Revision: https://reviews.freebsd.org/D60743
debug: classified in
03-filenames_plain1 by
'sys/dev/'
smsc: Support external PHY SMSC_HW_CFG_PSEL indicates that an external PHY is present. Skip the internal PHY initialization when set and store the ID of the detected PHY. Reviewed by: br Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60744
debug: classified in
03-filenames_plain1 by
'sys/dev/'
smsc: Use read-modify-write to configure LEDs
After reset the driver enables three LED outputs by writing 1s to
the appropriate GPIO/LED configuration bits in the LED & GPIO
configuration register LED_GPIO_CFG.
The LED Select (LED_SEL) bit in LED_GPIO_CFG chooses between two LED
modes:
0: Speed, Link+Activity, Full Duplex
1: Speed, Link, Activity
If an EEPROM is present LED_SEL is initialized from bit 1 in the
EEPROM's configuration flags value. If no EEPROM is present this bit
defaults to zero.
Previously we wrote to all bits in the register, clearing LED_SEL. A
device with LED_SEL set by the EEPROM would thus not have correct LEDs.
Now we read the current value of LED_GPIO_CFG and just set the three
LED configuration bits, as Linux does in commit 52a2f0608366 ("net: usb:
smsc95xx: fix changing LED_SEL bit value updated from EEPROM").
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60828
debug: classified in
03-filenames_plain1 by
'sys/dev/'
This metric seems unreliable and I have observed it occasionally report 1 (successful entry to S0i3) when the time_last_in_s0i3 metric was 0 on Phoenix, which does not make sense. So just rely on time_last_in_s0i3 instead. Sponsored by: The FreeBSD Foundation
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Better change is to provide the dedicated musl brandinfo, as it is done on amd64/i386, which should be done later. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299836 MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'sys/arm64/'
These are Single-Pair Ethernet types (SPE) from 802.3cg. smsc sets the link flag only if mii_media_active is one of a known set of media types. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60745
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'sys/x86/'
This makes the driver attach, but the device is still not usable. Reported by: Lukasz Wencki <lukasz@smail.net.pl> MFC after: 1 week Sponsored by: The FreeBSD Foundation
debug: classified in
03-filenames_plain1 by
'sys/dev/'
Network-related commands, library, and kernel.
When the driver's isc_rxd_pkt_get() fails part way through a receive
pass, iflib_rxeof() jumps straight to the reset request. The frames it
already took off the ring and chained for if_input() are neither passed
up nor freed, so up to budget - 1 frames are lost and their mbufs and
clusters leak on every such error, and the frames queued to LRO in the
pass wait for the next one. Leave the loop instead, pass the chain up
and flush LRO as on the normal exit, then request the reset as before,
without refilling.
The path is reachable from several drivers: igc, em, igb and ixgbe
return EBADMSG for frames received with errors, which the hardware
passes up only with store-bad-packets enabled; ixl, iavf and ice for
every descriptor flagged RXE; aq, enetc, mgb and enic for descriptors
they cannot use.
Reviewed by: gallatin
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D60805
debug: classified in
03-filenames_plain1 by
'sys/net/'
The clear intent here is to do m_pullup() if we _don't_ have two bytes. Before the fix: a) m_pullup() was always called and did nothing; b) if a node was ever supplied with a fragmented but otherwise correct mbuf, then it would not handle PROT_LCP as intended. Noticed by: zlei Reviewed by: zlei, eugen_grosbein.net Differential Revision: https://reviews.freebsd.org/D60788 Fixes: https://cgit.freebsd.org/src/commit/?id=28903f396af4b151e16ea606cda66a9244fb179f
debug: classified in
03-filenames_plain1 by
'sys/netgraph/'
Leverage the fact that m_pullup() in an inline function in mbuf.h and let compiler to do all optimizations. Mostly mechanical changes, but in few cases surrounding lines are brought to style(9). In netinet6, a few input functions changed to set the input/output `struct mbuf **` pointer to NULL at a single place. Reviewed by: pouria, zlei, gallatin Differential Revision: https://reviews.freebsd.org/D60689
debug: classified in
03-filenames_plain1 by '['sys/net/',
'sys/net80211/', 'sys/netgraph/', 'sys/netinet/',
'sys/netinet6/', 'sys/netipsec/', 'sys/netpfil/']'
This code was disabled for 8 years already. It used to produce very predictable hash without a salt, and that made the dynamic state engine an easy DoS attack vector. No chance we will ever use it again.
debug: classified in
03-filenames_plain1 by
'sys/netpfil/'
debug: classified in
03-filenames_plain1 by
'sys/netpfil/'
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
Since 83641335f96c only jail removal destroys exporters. Unloading pflow with one left trips the assertion in vnet_pflowdetach() or, without INVARIANTS, leaves pf calling into the freed module the next time it removes a state that pflow exports. Reviewed by: kp Fixes: https://cgit.freebsd.org/src/commit/?id=83641335f96c ("pf: clean up pflow sockets on jail removal") MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
03-filenames_plain1 by
'sys/netpfil/'
libpfctl sends a table definition in chunks of 256 addresses, each as its own PFNL_CMD_INA_DEFINE. The kernel treated every chunk as a new definition and replaced the shadow table, so only the last chunk survived. Mark the chunks after the first with PF_ID_APPEND and have the kernel add them to the shadow table in progress. A request without the attribute still replaces the shadow; one with it and no definition in progress fails with EINVAL. Old kernels ignore the attribute, so both halves are needed; the ioctl sends all addresses at once and is not affected. Mask the flags userland passes to PFR_FLAG_ALLMASK, as PFR_FLAG_APPEND is kernel-internal. Add a test that defines a table of 1,000 addresses, also in an anchor. Reviewed by: kp Fixes: https://cgit.freebsd.org/src/commit/?id=219ce3063840 ("pf: convert DIOCRINADEFINE to netlink") Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D60876
debug: classified in
05-summary-prefix by 'pf:'
100BASE-T1 (IEEE 802.3bw) and 1000BASE-T1 (IEEE 802.3bp) are Single-Pair Ethernet (SPE) standards intended for use in automotive and industrial applications. Reviewed by: kbowling Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60864
debug: classified in
03-filenames_plain1 by
'sys/net/'
Run the entire function under the socket buffer lock. Make it responsible to set the new limit or clear SB_AUTOSIZE in case of a failure. Use unsigned type for newsize, that matches both the sb_hiwat type and min() argument types. Make byte counter in the tcpcb unsigned, too. Make the sizing tunables unsigned, and make the switching tunable a boolean. Don't execute Dtrace probe in case of a failure. Simplify the Dtrace probe to report only relevant information, the previous probe looked more like a leftover from a debugging session. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D60731
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
tcp: refactor tcp_autosndbuf() and associated sysctls Rename tcp_sndbuf_autoscale() to tcp_autosndbuf(). This matches complementary tcp_autorcvbuf() that was factored out as a separate function a few months before tcp_sndbuf_autoscale() was. Move the large comment to the header of the function. Use unsigned types for all sizing sysctls and variables and use bool for the switching sysctl. Add a comment above net.inet.tcp.sendbuf_auto_lowat (default to off) providing a reference to its origins. Add DTrace probe tcp::send-autoresize, complementary to the existing tcp::receive-autoresize. Rack has its own function, just enable the DTrace probe there. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D60732
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
tcp: fix incorrect assertion tcp_autosndbuf() asserts that the buffer is locked, but it should assert this about the send buffer, not the receive buffer. Fixes: https://cgit.freebsd.org/src/commit/?id=7146ad04f18e ("tcp: refactor tcp_autosndbuf() and associated sysctls") Reviewed by: tuexen Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
The state expiration may lead to freeing rules, which requires this lock. Since the lock is sleepable, move the expiry routine from callout context to a taskqueue. This also should have a positive effect of not running expensive function as a callout. Fixes: https://cgit.freebsd.org/src/commit/?id=e3caa360d5d0a73af0de1d293d5b8ff6e900ceb4 Reviewed by: pouria Differential Revision: https://reviews.freebsd.org/D60869
debug: classified in
03-filenames_plain1 by
'sys/netpfil/'
Remove a level of indentation, improve line breaks, remove single use variables. No functional change.
debug: classified in
03-filenames_plain1 by
'sys/netinet6/'
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
debug: classified in
03-filenames_plain1 by
'sys/netinet6/'
Scope restriction by loopback interface was not specified in the draft-stewart-tsvwg-sctp-ipv4 draft and having global address on loopback interface is common. Therefore, allow to skip loopback interface type check in sctp. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D60938
debug: classified in
03-filenames_plain1 by
'sys/netinet/'
iflib_parse_header() pulls every IPv4 packet up to the end of the TCP or UDP header, including fragments at a non-zero offset, which carry no L4 header at all. A trailing fragment shorter than that header (1-7 bytes of UDP, 1-19 bytes of TCP) makes m_pullup() fail and the frame is freed without a trace in the interface counters. Only parse the L4 header on the first fragment. TSO never produces fragments, so assert that. With a 1500-byte MTU every UDP datagram of 1473-1479 bytes is lost behind a forwarding host whose ingress NIC sets receive checksum flags, or on any VLAN with hardware tagging. SIP over UDP is a common victim. Reported by: Alex Roberts Reviewed by: gallatin Fixes: https://cgit.freebsd.org/src/commit/?id=c224b2ce7de0 ("iflib: don't pullup UDP payloads to the TCP header size") See also: https://redmine.pfsense.org/issues/17196 MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
03-filenames_plain1 by
'sys/net/'
Stuff in man section 8 (other than networking).
nvmecontrol: select format by sector size Add automatic selection of lbaf value based on a single sector size. The lbas (the data sector size) is selected based on the power of 2 in the sector size, and the metadata size is selected by the remainder. If an lbaf matches these values is used, otherwise we exit with an error. When there's a tie, we prefer the higher performance. Manual selection of these values remains as well for times when we select incorrectly. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59833
debug: classified in
03-filenames_plain1 by 'sbin/'
nvmecontrol: support controller-wide sector sizes Extend sector-size selection to controller-wide formats when every namespace has one compatible format index and matching effective metadata and protection settings. Reject ambiguous or inconsistent layouts so heterogeneous fleets can request a sector size without risking an unintended controller-wide format. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59834
debug: classified in
03-filenames_plain1 by 'sbin/'
nvmecontrol: add format dry-run support Add -n/--dry-run to resolve and print the Format NVM command without submitting it. This lets users verify namespace selection and format parameters before making destructive media changes. Reviewed by: seuros, chuck Differential Revision: https://reviews.freebsd.org/D59835
debug: classified in
03-filenames_plain1 by 'sbin/'
nvmecontrol: Use admin device for admin-passthru When we're doing admin-passhtru, we need to use the admin device, not the namespace device. So when we're passed in ndaX or nvdX, we need to translate that to nvmeY for this command for the admin-passthru command, but not the io-passthru command. Note namespace nuance in man page. Differential Revision: https://reviews.freebsd.org/D59878
debug: classified in
03-filenames_plain1 by 'sbin/'
nvmecontrol: Fix mixup between pi and pil pi and pil were extracted from the incorrect place. Swap how we get/set there to be correct. However, since these are always 0, this is a nop.
debug: classified in
03-filenames_plain1 by 'sbin/'
This will make it easier to port bhyveload's functionality into the main bhyve executable. No functional change intended. Reviewed by: novel MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D60481
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
Use the new array size when calling realloc(). Note that this queue stores events read from a host evdev device, i.e., it is not guest-controlled. While here, use the cdefs.h __unused macro and use them correctly, i.e., don't mark "arg" as unused when it isn't. Reported by: Brian Delgado from Intel using Anthropic Opus 4.8 Fixes: https://cgit.freebsd.org/src/commit/?id=054accac71e0 ("Add a virtio-input device emulation.") MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60679
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
doff + dlen overflows unsigned int when both values are close to UINT_MAX, causing the wrong branch to execute and passing an unbounded length to append_binary_data(). Rewrite the comparison to avoid the addition. Reviewed by: markj Fixes: https://cgit.freebsd.org/src/commit/?id=f81cdf24ba54 ("bhyve: Add support for XML register definitions") MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60847
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
pfctl_flush_fingerprints() returns an error number instead of setting errno, so a failed flush was reported with whatever errno held: "No error: 0" on a kernel with ALTQ, ENODEV from the ALTQ probe on one without. Every "pfctl -f" flushes the fingerprints first, so on a kernel that predates PFNL_CMD_OSFP_FLUSH every ruleset load fails this way without saying why. Reviewed by: kp Fixes: https://cgit.freebsd.org/src/commit/?id=75c0a8376204 ("pf: convert DIOCOSFPFLUSH DIOCOSFPGET DIOCOSFPADD to netlink") Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
03-filenames_plain1 by 'sbin/'
pfctl_ina_define() returns an error number instead of setting errno, but both of its callers print errno. A table that failed to load was reported as "cannot define table t: No error: 0", or with a stale errno, both in the main ruleset (process_tabledef()) and in anchors (pfctl_load_tables()). Reviewed by: kp Fixes: https://cgit.freebsd.org/src/commit/?id=219ce3063840 ("pf: convert DIOCRINADEFINE to netlink") Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
03-filenames_plain1 by 'sbin/'
hastd: Use void pointers for opaque data Use void, not char, for pointers to opaque data in our send and receive functions. Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D60729
debug: classified in
03-filenames_plain1 by 'sbin/'
hastd: Fix build failure Fixes: https://cgit.freebsd.org/src/commit/?id=a5e6bee5a0bf ("hastd: Use void pointers for opaque data") Reported by: garga@
debug: classified in
03-filenames_plain1 by 'sbin/'
caroot: Regenerate Regenerate using certificate data from NSS 3.131.1. Upstream dropped emSign_ECC_Root_CA_-_G3.pem entirely; we deliberately move it to untrusted instead to block its reintroduction through e.g. an outdated copy of security/ca_root_nss. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D60906
debug: Commit manually moved from "unknown" to "admin".
ObsoleteFiles.inc: Add dropped certificates Reported by: michaelo@ Fixes: https://cgit.freebsd.org/src/commit/?id=82af7f44ebef ("caroot: Regenerate")
debug: classified in
03-filenames_plain1 by
'ObsoleteFiles.inc'
ObsoleteFiles.inc: Add moved certificates These two moved from trusted to untrusted. Fixes: https://cgit.freebsd.org/src/commit/?id=21ac4761428c ("ObsoleteFiles.inc: Add dropped certificates")
debug: classified in
03-filenames_plain1 by
'ObsoleteFiles.inc'
debug: moved to admin because
'Need to be grouped with
21ac4761428c60c48bb5c3a0367a04dae164c414'
inetd_setproctitle() formats se_service (the service name taken verbatim from inetd.conf) and the peer address into an 80-byte buffer with sprintf(). A long service name can overflow it. Bound both calls with snprintf(). MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D60879
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
Some guest operating systems (at least 9front) will leave device I/O space decoding enabled while probing BAR sizes. In this case, a sufficiently large 32-bit BAR can overlap with the HPET MMIO region fixed at 0xfed00000. This results in an assertion failure in modify_bar_registration(), even though the collision is transient, i.e., the guest will promptly map the BAR elsewhere. Tolerate such overlaps. Keep track of a BAR's registration state and make sure that modify_bar_registration() doesn't try to unregister an I/O space if registration failed. This fixes a problem where a 32MB framebuffer ends up overlapping with the HPET MMIO region, causing some guests to crash with an assertion failure when probing BARs during boot. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290098 Reviewed by: bnovkov MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60748
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
For a software built on top of bhyve(8) and/or managing bhyve(8),
it is very convenient to know what specific features the given binary supports.
Currently, bhyve(8) provides some of this information, and it could be
retrieved by parsing `bhyve -h`, `bhyve -s help`, `bhyve -l help`.
Sometimes it is not enough, for example, the recently added
"oemstrings" feature cannot be fully probed using these commands.
Over time, some workarounds were suggested. Specifically:
- Mapping features to __FreeBSD_version. I see at least two issues with
that:
* __FreeBSD_version does not directly map to bhyve(8) features,
so this is simply not accurate.
* bhyve(8) might be updated separately from the system, which
is not so uncommon, especially for development purposes.
Then such a probing will be inaccurate.
- Manual pages parsing. I see more disadvantages with that:
* Manual pages are meant to be read by a human. Extracting
information from it by a machine is not the most convenient thing.
Especially understanding side notes like: "Note, feature 'foo'
is arm64-only!".
* Manual pages might be inaccurate, they might miss options.
* bhyve(8) could be used in an environment where manual pages
are not installed.
This commit attempts to close this gap by introducing the "bhyve -o
help" command which prints all the supported configuration variables.
In my opinion, it is, in combination with the other commands mentioned
above, sufficient to retrieve most of the capabilities of the given
bhyve(8) binary.
The current implementation defines a simple configuration schema for
common and machdep code and prints out a list of supported configuration
variables for the current architecture.
The next step as I see it would be extending set_config*() functions
to validate the user provided values against the schema, so users get
notified early on incorrect or misspelled configuration variables.
It would also be nice to allow users to only validate their
configuration, think of 'nginx configtest / -t'.
Reviewed by: chuck (previous revision), bnovkov
MFC after: 1 month
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58419
debug: classified in
04-filenames_plain2 by
'usr.sbin/'
Fixes: https://cgit.freebsd.org/src/commit/?id=1e370f038778 ("rtld: stop using unbound alloca()") Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'libexec/'
Add a missing word in the comment. Make each assignment a separate statement. Fix formatting. Fixes: https://cgit.freebsd.org/src/commit/?id=1e370f038778 ("rtld: stop using unbound alloca()") Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'libexec/'
For objects without a TLS segment, tlsindex is zero. tls_get_addr_slow() then reads dtv_slots[-1], which is dtv_size, and returns it as the TLS address. Set dlpi_tls_data to NULL for such objects instead. Fixes: https://cgit.freebsd.org/src/commit/?id=d36d68161517 ("rtld dl_iterate_phdr(): dlpi_tls_data is wrong") Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'libexec/'
thr_try_gc unlock and lock again to make sure the lock order. However, there is no reason for such roundtrip if the caller holds the correct oder. As a result, we create a new helper function to add the thread to gc list without unlock + lock and wire the join_common to this new helper. Reviewed by: kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D60717
debug: classified in
04-filenames_plain2 by 'lib/'
The cleanup tested cherr[0] when closing cherr[1]. The parent also closed chin[0]/chout[1]/cherr[1] after pdfork() without clearing them, so the out: cleanup path closed them again. Clear each fd after closing and test the right one. Reviewed by: des, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60924
debug: classified in
04-filenames_plain2 by 'lib/'
-- no commits in this category this week --
Kernel stuff (other than networking, filesystems, and drivers).
For better readability. No functional change (intended). MFC after: 3 days Sponsored by: The FreeBSD Foundation
debug: classified in
04-filenames_plain2 by 'sys/'
No functional change (intended). MFC after: 3 days Sponsored by: The FreeBSD Foundation
debug: classified in
04-filenames_plain2 by 'sys/'
No functional change (intended). MFC after: 3 days Sponsored by: The FreeBSD Foundation
debug: classified in
04-filenames_plain2 by 'sys/'
sched_preempt() does not support operating on a remote thread. If you are looking to influence CPU allocation on another thread, see, e.g., cpuset_setthread(), which in the end calls sched_affinity(). MFC after: 3 days Sponsored by: The FreeBSD Foundation
debug: classified in
04-filenames_plain2 by 'sys/'
MFC after: 1 week
debug: classified in
04-filenames_plain2 by 'sys/'
When an application uses inotify to watch a directory, vn_inotify_add_watch() reads the directory entries and does a name lookup so as to induce the filesystem to create namecache entries. Some filesystems expect the directory to be opened before VOP_READDIR can be called, so do that. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299239 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60782
debug: classified in
04-filenames_plain2 by 'sys/'
Implement a most typical use of m_pullup() as an inline and leave only the heavy part as a function. A sweeping change to make benefit of the new version follows. Reviewed by: pouria, zlei, gallatin Differential Revision: https://reviews.freebsd.org/D60688
debug: classified in
04-filenames_plain2 by 'sys/'
This change adds the necessary glue to translate Linux scheduler policy and priority from FreeBSD so this information is available to Linux applications. Please note that this change does not fill in the `.sched_nice` property: this will be handled in a follow up commit (see bug 299617 for more details). This unbreaks using the Linux version of Chromium on FreeBSD. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297468 Signed-off-by: Joao Bonifacio <joaoboni017@gmail.com> Pull Request: https://github.com/freebsd/freebsd-src/pull/2370 Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D60214
debug: classified in
04-filenames_plain2 by 'sys/'
They are ignored by clang.
No functional changes (nor .o changes).
Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
04-filenames_plain2 by 'sys/'
Sorts out powerpc.QORIQ64 build failure.
Sponsored by: Rubicon Communications, LLC ("Netgate")
debug: classified in
04-filenames_plain2 by 'sys/'
Linux leaves the session's controlling terminal in place after the last file descriptor on the slave is closed, so a later open of /dev/tty succeeds. FreeBSD drops the session vnode reference on that close. /dev/tty then fails, which breaks Linux programs such as xterm that close the pty slave during startup and expect /dev/tty to keep working. When the closer is a Linux process, leave the session reference in place. Still pass FLASTCLOSE to the driver so the master sees hangup. Native close behavior is unchanged. Add the SV_PERSISTENT_CTTY sysentvec flag for ABIs that retain the controlling terminal after the last slave descriptor is closed. This keeps the devfs behavior ABI-agnostic and allows other ABIs to request the same semantics if needed. Use the flag in devfs_close(). Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60701
debug: classified in
04-filenames_plain2 by 'sys/'
Connect the baseline OpenSSL ARMv8 fused AES-GCM kernels to the OCF ossl driver. Advertise the algorithm only when the system-wide capability set includes both AES and PMULL. Note that get_kernel_reg() is used to detect features such as PMULL because the ossl device attaches before arm64 populates elf_hwcap when ossl is built into the kernel or pre-loaded at boot. Prefer OSSL over armv8crypto for AES-GCM sessions while retaining armv8crypto as a fallback. This provides about a 50% speedup for a Netflix ktls workload on a small neoverse N1 board. Reviewed by: markj Constructive review feedback from: andrew, ngie Differential Revision: https://reviews.freebsd.org/D60097 Sponsored by: Netflix
debug: classified in
04-filenames_plain2 by 'sys/'
Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
04-filenames_plain2 by 'sys/'
The omitted ABI is compat32 on arm64, which lacks SV_ASLR. Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
04-filenames_plain2 by 'sys/'
Sponsored by: The FreeBSD Foundation MFC after: 1 week
debug: classified in
04-filenames_plain2 by 'sys/'
drm-kmod sets CONFIG_PM (unclear if for other parts) but LinuxKPI
has no understanding of a dev->power implementation for pm_runtime.h.
The return values based on !CONFIG_PM thus cause problems to drm-kmod.
Return the previous values under CONFIG_PM but leave the TODO logging
as the actual implementation is missing and return values may not be
universally correct (beyond the known drm-kmod use cases).
The following functions having a return value but none sepcific for
CONFIG_PM as (based on drm-kmod master):
pm_runtime_resume only caller ignores the return value
pm_runtime_set_active two callers ignore the return value
pm_runtime_put_autosuspend all callers seem to ignore the return value
pm_runtime_autosuspend 2/3 callers ignore the return value;
3rd is #ifdef __linux__
pm_runtime_suspended 3/4 callers ... do check the return value
but the logic expects the false, which also
matches the previous value.
Fixes: https://cgit.freebsd.org/src/commit/?id=863fe7ae5152 ("LinuxKPI: re-implement pm_runtime.h")
Reported by: markj
MFC after: 3 days
Tested by: markj, Oleg V. Nauman (oleg.nauman gmail.com)
Differential Revision: https://reviews.freebsd.org/D60878
debug: classified in
04-filenames_plain2 by 'sys/'
External retpoline thunks for amd64 and i386 were added in commit
74d971fe1561 ("x86: Add external retpoline thunk"). Use them when
WITH_KERNEL_RETPOLINE is set.
There should not be any material performance impact -- the call sites
are identical, and this just replaces (on amd64) compiler-generated
__llvm_retpoline_r11 functions in each object with our
__x86_indirect_thunk_r11.
After this change we could implement boot-time patching, replacing
__x86_indirect_thunk_r11 with just jmp %r11 when retpoline is not
required.
Note on i386: An i386 build WITH_KERNEL_RETPOLINE was successful, but
has not been extensively tested. Clang may use registers other than
just eax on i386 and so in the future additional thunks beyond the one
added in 74d971fe1561 could be required for i386. Patches are welcome
if this is important to you.
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
debug: classified in
04-filenames_plain2 by 'sys/'
Linux returns EFAULT when the range to be remapped is not mapped at all, and ENOMEM only when it is mapped but cannot be grown in place. Callers depend on that distinction: musl's pthread_getattr_np() measures the main thread stack by growing a one page mapping and retries while errno is ENOMEM. Returning ENOMEM for every growth request makes that loop spin forever. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299835 MFC after: 1 week
debug: classified in
04-filenames_plain2 by 'sys/'
We don't need to pick a repository URL when all we're doing is enabling one which was specified in /etc/pkg/. Reviewed by: dch, imp Fixes: https://cgit.freebsd.org/src/commit/?id=c73ae6734899 ("release/tools: use same pkg settings ...") MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60868
debug: classified in
02-filenames_wildcards by
'release/.*'
MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60453
debug: Commit manually moved from "unknown" to "build".
If VM_PARTALIGN is set, pass %${VM_PARTALIGN} to mkimg in the
specification of swap, config, root, and ESP partitions. (Boot
partitions are not aligned, both because they're small and in
case firmware makes assumptions about their locations.)
Reviewed by: lwhsu, imp
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D60454
debug: classified in
02-filenames_wildcards by
'release/.*'
Reviewed by: jlduran, imp MFC after: 2 months Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D60455
debug: classified in
02-filenames_wildcards by
'release/.*'
debug: classified in
03-filenames_plain1 by
'share/misc/bsd-family-tree'
Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D60912
debug: classified in
03-filenames_plain1 by
'.mailmap'
-- no commits in this category this week --
These could go in other categories, but it's more clear if they're here instead.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
debug: classified in 01-style
by '[tT]ypo'
Reviewed by: ziaee
debug: classified in 01-style
by '[sS]tyle'
MFC after: 3 days Reviewed by: ziaee Signed-off-by: Seth Hoffert <seth.hoffert@gmail.com> Closes: https://github.com/freebsd/freebsd-src/pull/2480
debug: classified in 01-style
by '[tT]ypo'
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299990 (typo part) MFC after: 1 week
debug: classified in 01-style
by '[tT]ypo'
The error message noting that the file should not be included said "bsd.conf.mk" before this change. Now it correctly says "bsd.confs.mk". MFC after: 3 days
debug: classified in 01-style
by '[tT]ypo'
auditdistd: Use void pointers for opaque data Use void, not char, for pointers to opaque data in our send and receive functions. Sponsored by: Klara, Inc. Sponsored by: Qualys, Inc. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D60728
debug: classified in
03-filenames_plain1 by
'contrib/'
auditdistd: Fix build failure Fixes: https://cgit.freebsd.org/src/commit/?id=4f19e4aca4f4 ("auditdistd: Use void pointers for opaque data") Reported by: garga@
debug: classified in
03-filenames_plain1 by
'contrib/'
Release notes at
https://community.nlnetlabs.nl/t/unbound-1-26-2-released
Merge commit 'ce3304d97ba4861eabac759e538426a568aef0a5'
Security: CVE-2026-35501
Security: CVE-2026-50106
Security: CVE-2026-96405
Security: CVE-2026-97206
Security: CVE-2026-109125
debug: classified in
05-summary-prefix by 'unbound:'
SSL_use_RSAPrivateKey_file() was deprecated in OpenSSL 3.0. Use the more generic SSL_use_PrivateKey_file() instead. Sponsored by: Klara, Inc. Sponsored by: Qualys, Inc. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D60899
debug: classified in
03-filenames_plain1 by
'contrib/'
[libunwind] Unwind through AArch64 FreeBSD signal trampolines (#235065) Retried from https://reviews.llvm.org/D155066. Recognize signal trampolines using KERN_PROC_SIGTRAMP when unwind metadata is unavailable. Restore the interrupted PC, LR, SP, general registers, and valid floating-point registers. Add coverage for unwinding out of an interrupted leaf function on both regular and alternate signal stacks. Assisted-by: GPT MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'contrib/'
[libunwind] Support extended amd64 segment registers (#229176) Raise the amd64 DWARF register limit to 59 and add RFLAGS, all six segment selectors, FS.base, and GS.base to the register model. Capture the extended state and restore it when resuming, using sigreturn() on FreeBSD to restore selectors and bases together. Pack the state into the existing context buffers without changing their public sizes or the Windows XMM offsets. Add tests for register access, signal-frame CFI recovery, register bounds, and resume behavior. Assisted-by: GPT MFC after: 1 week
debug: classified in
03-filenames_plain1 by
'contrib/'
inpcb: add single peer local port caching A typical caching proxy problem is port allocation to backends. We usually have a few of them, with thousands connections to each. Upon creation of a new connection we need to find a new unique local port for the peer:port. This is achieved by linear search in in_pcb_lport_dest(). The closer we get to the port exhaustion the more expensive this loop is. It needs to be executed tens thousands of times to find a port or fail. Address the problem by adding advisory negative cache that is lazily allocated upon first conflict. Once the cache is in action we skip trying those ports that are already marked in the cache. During the search we may encounter a cache allocated by other lookup. In this case the caches are merged into one. The expectation is that under a stable heavy load we are going to stabilize at a very low number of allocated caches, ideally one per peer:port. The cache is a bitset of IPPORT_MAX, which makes it 8k. Unfortunately metadata pushes allocation size to 16k UMA bucket. However, the expectation is that we are going to have a very few allocated, thus current decision is to not create a separate UMA zone. Differential Revision: https://reviews.freebsd.org/D58290
debug: classified in 00-reverts
by 'This reverts commit
\b([0-9a-fA-F]{40})\b'
Revert "inpcb: add single peer local port caching" This reverts commit 289082428c764ed282623cc6f7ee9b7448fddad1. Requested by: markj
debug: classified in 00-reverts
by 'This reverts commit
\b([0-9a-fA-F]{40})\b'
Not classified automatically, and waiting for manual attention.
-- no commits in this category this week --
Dates:
cgit.freebsd.org/src. Git accurately records the
order of commits, but not their dates.Automatic grouping:
This reverts commit \\b([0-9a-fA-F]{40})\\b
and the hash was found in this week's commits.
Automatic categories:
Source code:
Generated with commits-periodical 0.21 at 2026-11-03 03:23:55+00:00.
This work is supported by Tarsnap Backup Inc.
Alternate version: 2026-10-19 (release)