FreeBSD/src 65349afsys/net iflib.c

iflib: clear the deferred TX descriptor state when a queue is stopped

Stopping an interface frees the queued mbufs and zeroes a transmit
queue's descriptor accounting, but the three counters that track
descriptors deferred to a later doorbell write or report-status
request are not cleared there: they only reach zero when the code
that acts on them runs.  After a reset they therefore describe
descriptors that no longer exist, until enough new traffic flushes
them.

The consequences are small - one doorbell written from a stale
count, and a report-status request on the first packet after the
reset - but the state is simply wrong, and the transmit-hang check
in iflib_timer() reads one of them.

MFC after:      1 week
Assisted-by:    Claude Code (Opus 5)
DeltaFile
+2-0sys/net/iflib.c
+2-01 files

FreeBSD/src 5da9bc8sys/net iflib.c

iflib: remove the unused TX queue state machine

The previous commit stopped using ift_qstatus and the IFLIB_QUEUE_*
states for the TX watchdog decision, leaving only dead stores.
Remove the field, the states, and all assignments.  The byte the
field frees stays behind as explicit padding.  No functional change.

Reviewed by:    gallatin, markj
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D58282
Assisted-by:    Claude Code (Fable 5, Opus 5)
DeltaFile
+1-20sys/net/iflib.c
+1-201 files

FreeBSD/src 69c3e0dshare/man/man4 iflib.4, sys/net iflib.c

iflib: restore TX watchdog functionality

Since f6afed726b00 the TX-hang check in iflib_timer() has required a
queue state other than IFLIB_QUEUE_IDLE, but nothing ever sets
IFLIB_QUEUE_WORKING, so IFLIB_QUEUE_HUNG has been unreachable ever
since: stalled TX queues are not detected, not reported, and not
reset - the TX watchdog of every iflib(4) driver has been dead code.

Instead of resurrecting the queue-state machine, detect the hang
directly.  A transmit queue is frozen while it holds descriptors the
hardware has not reported as completed and none were reclaimed over a
timer period.  Being frozen is not a fault: the hardware may defer
marking descriptors as completed indefinitely.  The check therefore
arms only when a frozen queue also takes on new work, while the link
is up, no pause frames were received and no doorbell is pending; and
it acts only after the queue has stayed frozen for
net.iflib.tx_watchdog_periods consecutive periods.  It then asks the
hardware through the driver's read-only credits peek
(isc_txd_credits_update with clear=false, the same call the mp_ring

    [46 lines not shown]
DeltaFile
+107-26sys/net/iflib.c
+10-1share/man/man4/iflib.4
+117-272 files

FreeBSD/ports 9ceb626x11-drivers/xf86-input-elographics pkg-descr distinfo

x11-drivers/xf86-input-elographics: Update to 1.4.4

Update COMMENT, WWW and pkg-descr.

https://lists.x.org/archives/xorg-announce/2022-December/003289.html
https://lists.x.org/archives/xorg-announce/2024-February/003459.html

PR:             297255
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+4-7x11-drivers/xf86-input-elographics/Makefile
+3-3x11-drivers/xf86-input-elographics/distinfo
+3-1x11-drivers/xf86-input-elographics/pkg-descr
+10-113 files

FreeBSD/ports e67fed6net/rustconn Makefile Makefile.crates

net/rustconn: Update to 0.19.11

ChangeLog:

- https://github.com/totoshko88/RustConn/releases#release-v0.19.8
- https://github.com/totoshko88/RustConn/releases#release-v0.19.9
- https://github.com/totoshko88/RustConn/releases#release-v0.19.10
- https://github.com/totoshko88/RustConn/releases#release-v0.19.11

Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+9-9net/rustconn/distinfo
+3-3net/rustconn/Makefile.crates
+1-1net/rustconn/Makefile
+13-133 files

FreeBSD/ports bac9344graphics/nvidia-drm-61-kmod-devel distinfo, graphics/nvidia-drm-612-kmod-devel distinfo

x11/nvidia-driver-devel, x11/nvidia-kmod-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm*-kmod-devel: Update to 610.57.04

Update to latest New Feature Branch of drivers 610.57.04:
https://www.nvidia.com/en-us/drivers/details/274515/

Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/274513/

PR:             297266
Differential Revision:  https://reviews.freebsd.org/D58640
DeltaFile
+3-3x11/nvidia-driver-devel/distinfo
+3-3x11/linux-nvidia-libs-devel/distinfo
+3-3graphics/nvidia-drm-latest-kmod-devel/distinfo
+3-3graphics/nvidia-drm-66-kmod-devel/distinfo
+3-3graphics/nvidia-drm-612-kmod-devel/distinfo
+3-3graphics/nvidia-drm-61-kmod-devel/distinfo
+18-1810 files not shown
+30-3016 files

FreeBSD/ports 11c3b27graphics/nvidia-drm-66-kmod distinfo, graphics/nvidia-drm-latest-kmod distinfo

x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.91.07

Update to latest Production Branch of drivers 595.91.07:
https://www.nvidia.com/en-us/drivers/details/277702/

Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/277699/

PR:             297265
Differential Revision:  https://reviews.freebsd.org/D58639
DeltaFile
+3-3x11/nvidia-xconfig/distinfo
+3-3x11/nvidia-settings/distinfo
+3-3x11/nvidia-driver/distinfo
+3-3x11/linux-nvidia-libs/distinfo
+3-3graphics/nvidia-drm-latest-kmod/distinfo
+3-3graphics/nvidia-drm-66-kmod/distinfo
+18-1811 files not shown
+35-3517 files

FreeBSD/ports 4e5eafdmail/courier-imap Makefile distinfo

mail/courier-imap: Update to 6.0.6
DeltaFile
+3-3mail/courier-imap/distinfo
+1-1mail/courier-imap/Makefile
+4-42 files

FreeBSD/ports 42c1c82security/courier-authlib Makefile distinfo

security/courier-authlib: Update to 0.73.2
DeltaFile
+3-3security/courier-authlib/distinfo
+1-1security/courier-authlib/Makefile
+4-42 files

FreeBSD/ports b277df3textproc/ripgrep Makefile Makefile.crates

textproc/ripgrep: Update 15.1.0 => 15.2.0

This release fixes a number of bugs related to gitignore matching as well as
some performance improvements in directory tree traversal.

While here, strip installed binary to satisfy stage-qa.

Changelog:
https://github.com/BurntSushi/ripgrep/releases/tag/15.2.0

PR:             297272
Reported by:    Petteri Valkonen <petteri.valkonen at iki.fi> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit 5ee5377e1506c9972bf0498f65d0c59d25fa0056)
DeltaFile
+65-69textproc/ripgrep/distinfo
+31-33textproc/ripgrep/Makefile.crates
+2-2textproc/ripgrep/Makefile
+98-1043 files

FreeBSD/ports 5ee5377textproc/ripgrep Makefile Makefile.crates

textproc/ripgrep: Update 15.1.0 => 15.2.0

This release fixes a number of bugs related to gitignore matching as well as
some performance improvements in directory tree traversal.

While here, strip installed binary to satisfy stage-qa.

Changelog:
https://github.com/BurntSushi/ripgrep/releases/tag/15.2.0

PR:             297272
Reported by:    Petteri Valkonen <petteri.valkonen at iki.fi> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+65-69textproc/ripgrep/distinfo
+31-33textproc/ripgrep/Makefile.crates
+2-2textproc/ripgrep/Makefile
+98-1043 files

FreeBSD/ports 02f037cbenchmarks/hipercontracer pkg-plist Makefile

benchmarks/hipercontracer: Update 2.2.6 => 2.2.8

Changelog:
https://github.com/dreibh/hipercontracer/blob/hipercontracer-2.2.8/ChangeLog

Commit log:
https://github.com/dreibh/hipercontracer/compare/hipercontracer-2.2.6...hipercontracer-2.2.8

PR:             297270
Reported by:    Thomas Dreibholz <thomas.dreibholz at gmail.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+2-4benchmarks/hipercontracer/Makefile
+3-3benchmarks/hipercontracer/distinfo
+0-1benchmarks/hipercontracer/pkg-plist
+5-83 files

FreeBSD/src 2d21dbasys/fs/p9fs p9fs_vnops.c p9fs_vfsops.c

fix p9fs_vget_common() panics

This addresses a race when two vnodes attempt to call vfs_hash_insert(),
but only one succeeds. Also, in case of an error from
p9fs_reload_stats_dotl(), it marks the vnode for deletion.

Reviewed by:    kib
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58632
DeltaFile
+15-41sys/fs/p9fs/p9fs_vfsops.c
+0-3sys/fs/p9fs/p9fs_vnops.c
+15-442 files

FreeBSD/src 8f20299sys/fs/nfsclient nfs_clrpcops.c

nfs_commonkrpc.c: Get rid of NFSv4.0 delegation cruft

Delegations in NFSv4.0 never worked well and, since
the NFSv4.0 protocol is now deprecated, use of delegations
for NFSv4.0 is disabled as far as the client can do so.

It turns out that some Illumos NFSv4.0 server issues
delegations anyhow (even when the callback path is
specified as 0.0.0.0) and this can cause use after free
problems.

This patch deleted some cruft that did an nfsrpc_openrpc()
call recursively when an NFSv4.0 server failed to issue
a delegation when it had previously done so.
This code was only meant to be an optimization and
would have been rarely exercised.  Since this recursive
call of nfsrpc_openrpc() is in some of the backtraces
in the bugzilla PR, getting rid of the cruft makes sense.


    [5 lines not shown]
DeltaFile
+0-27sys/fs/nfsclient/nfs_clrpcops.c
+0-271 files

FreeBSD/ports a81f0baprint/plutobook Makefile distinfo

print/plutobook: Update to 0.19.0

Changelog: https://github.com/plutoprint/plutobook/releases/tag/v0.19.0
DeltaFile
+3-3print/plutobook/distinfo
+1-1print/plutobook/Makefile
+4-42 files

FreeBSD/ports e48e4aadevel/nextpnr-devel Makefile distinfo

devel/nextpnr-devel: Update to 2026-08-04
DeltaFile
+3-3devel/nextpnr-devel/distinfo
+2-2devel/nextpnr-devel/Makefile
+5-52 files

FreeBSD/ports 3be9604security/stunnel Makefile distinfo

security/stunnel: Update to 5.80
DeltaFile
+3-3security/stunnel/distinfo
+1-1security/stunnel/Makefile
+4-42 files

FreeBSD/ports b97933cmisc/hermes-agent distinfo, misc/hermes-agent/files patch-tools_lazy__deps.py patch-hermes__cli_config.py

misc/hermes-agent: update to 0.16.0
DeltaFile
+11-18misc/hermes-agent/files/patch-hermes__cli_gateway.py
+24-0misc/hermes-agent/files/patch-hermes__cli_config__defaults.py
+9-9misc/hermes-agent/files/patch-hermes__cli_setup.py
+0-15misc/hermes-agent/files/patch-hermes__cli_config.py
+5-5misc/hermes-agent/distinfo
+2-2misc/hermes-agent/files/patch-tools_lazy__deps.py
+51-494 files not shown
+59-5710 files

FreeBSD/ports ee7e2bbmisc/py-anthropic Makefile distinfo

misc/py-anthropic: update to 0.120.2
DeltaFile
+3-3misc/py-anthropic/distinfo
+1-1misc/py-anthropic/Makefile
+4-42 files

FreeBSD/ports 2af110cwww/py-firecrawl-py Makefile distinfo

www/py-firecrawl-py: update to 4.34.0
DeltaFile
+3-3www/py-firecrawl-py/distinfo
+1-1www/py-firecrawl-py/Makefile
+4-42 files

FreeBSD/src 82c013flib/libc/stdbit stdc_first_leading_zero.3, lib/libc/stdlib memalignment.3

manuals: Fix more Fx and nearby mechanical typos

Fix compiler warnings related to the Fx macro, as well as all other
mechanical typos that were visible within one screenful of them. These
cause rendering glitches on various toolchains with various of the five
and a half decades of rich output formats and tooling manpages scale to.

The *x macro set specifies operating systems. These macros take the rest
of the line as an argument. Sometimes, a space was not used to separate
the argument of Fx and the trailing period. Others had other parts of
the sentence supplied as an argument to Fx.

While here, fix the other mechanical typos visible on those specific
screenfulls. Correct section typo AUTHOR to AUTHORS, markup utilities
with Sy, and apply line break after the end of a sentence.

PR:             297248
MFC after:      3 days
Reported by:    wosch (are you sure that's all of the broken Fx'es?)

    [5 lines not shown]
DeltaFile
+11-5share/man/man5/pf.conf.5
+2-2lib/libc/stdlib/memalignment.3
+2-1sbin/route/route.8
+1-1lib/libc/stdbit/stdc_first_leading_zero.3
+16-94 files

FreeBSD/ports 4c88953misc/qwen-code distinfo Makefile, misc/qwen-code/files package-lock.json

misc/qwen-code: update to 0.21.5
DeltaFile
+0-802misc/qwen-code/pkg-plist
+631-9misc/qwen-code/files/package-lock.json
+9-1misc/qwen-code/Makefile
+3-3misc/qwen-code/distinfo
+643-8154 files

FreeBSD/ports 4b11149misc/mc6 distinfo pkg-descr, misc/mc6/files patch-lib_tty_tty-ncurses.c patch-lib_tty_tty-slang.c

misc/mc6: Midnight Commander fork with plugins (new port)

Also features new archive manager built on libarchive that
replaces the legacy built-in tarfs and cpiofs VFS modules.

Via:    https://www.opennet.ru/opennews/art.shtml?num=66018
DeltaFile
+399-0misc/mc6/pkg-plist
+66-0misc/mc6/Makefile
+28-0misc/mc6/files/patch-lib_tty_tty-slang.c
+20-0misc/mc6/files/patch-lib_tty_tty-ncurses.c
+3-0misc/mc6/distinfo
+3-0misc/mc6/pkg-descr
+519-01 files not shown
+520-07 files

FreeBSD/ports 07bcf0bdevel/py-shandy-sqlfmt Makefile distinfo

devel/py-shandy-sqlfmt: Update to 0.31.0
DeltaFile
+3-3devel/py-shandy-sqlfmt/distinfo
+1-1devel/py-shandy-sqlfmt/Makefile
+4-42 files

FreeBSD/ports 3e4b401textproc Makefile, textproc/fcitx5-afrim pkg-descr Makefile

textproc/afrim-fcitx: New port: AFRIM support for Fcitx5

afrim support for Fcitx5 input method framework.

The afrim manual is available at https://fodydev.github.io/afrim-man/
and the datasets can be found at https://github.com/fodydev/afrim-data/

Feel free to contribute to the project either by providing more datasets,
https://github.com/fodydev/afrim-data/
or by contributing to afrim and the fcitx5 support.
https://github.com/fodydev/afrim
https://github.com/fodydev/fcitx5-afrim

WWW: https://github.com/fodydev/fcitx5-afrim

PR:             296717
Reported by:    Brady Fomegne <brady.fomegne at outlook.com> (new maintainer)
Reviewed by:    mce
DeltaFile
+133-0textproc/fcitx5-afrim/distinfo
+65-0textproc/fcitx5-afrim/Makefile.crates
+31-0textproc/fcitx5-afrim/Makefile
+10-0textproc/fcitx5-afrim/pkg-descr
+1-0textproc/Makefile
+240-05 files

FreeBSD/ports 3a70d2cdeskutils/xdg-terminal-exec Makefile distinfo

deskutils/xdg-terminal-exec: Update to 0.14.3

Reported by:    portscout!
DeltaFile
+3-3deskutils/xdg-terminal-exec/distinfo
+1-1deskutils/xdg-terminal-exec/Makefile
+4-42 files

FreeBSD/ports b3beb06math/stp pkg-plist distinfo

math/stp: Update to 2.4.1

Reported by:    portscout!
DeltaFile
+28-8math/stp/Makefile
+9-3math/stp/distinfo
+1-1math/stp/pkg-plist
+38-123 files

FreeBSD/ports 247dfa8misc/hwdata Makefile distinfo

misc/hwdata: Update to 0.410

Reported by:    portscout!
DeltaFile
+3-3misc/hwdata/distinfo
+1-1misc/hwdata/Makefile
+4-42 files

FreeBSD/ports 363f4c4www/nginx-full Makefile

www/nginx-full: chase devel/mongo-c-driver update

Reported by:    joneum (via mail)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+1-1www/nginx-full/Makefile
+1-11 files

FreeBSD/ports 1167e16net/libyang2 pkg-plist Makefile

net/libyang2: update to 2.1.148

Sponsored by:   Netflix
DeltaFile
+3-3net/libyang2/distinfo
+1-1net/libyang2/pkg-plist
+1-1net/libyang2/Makefile
+5-53 files