FreeBSD/src c52bcd0sys/fs/nfsserver nfs_nfsdstate.c

nfsd: Garbage collect stray NFSv4 state

When a file is deleted on the NFS server by another client,
any NFSv4 state related to that file is left stranded.
This happens because the NFSv4 operations that free the
state use a CFH, which is set by a PutFH operation.
However, the PutFH fails with ESTALE because the file has
been deleted.

This patch adds a function called nfsrv_freestrandedstate()
that frees all the NFSv4 state related to a file and calls
this function when PutFH will be replying ESTALE.

While here, a helper function was defined to handle free'ng
of the nfslockfile structure and replaces the two places
where nearly identical code does this.

Reported by:    Richard Purdie <richard.purdie at linuxfoundation.org>
Tested by:      Michael Halstead <mhalstead at linuxfoundation.org>
MFC after:      2 weeks
DeltaFile
+75-14sys/fs/nfsserver/nfs_nfsdstate.c
+75-141 files

FreeBSD/ports 599ad80security/nextcloud-twofactor_admin distinfo Makefile

security/nextcloud-twofactor_admin: Update to 4.12.0
DeltaFile
+3-3security/nextcloud-twofactor_admin/distinfo
+2-2security/nextcloud-twofactor_admin/Makefile
+5-52 files

FreeBSD/ports 383868cemulators/wine-devel distinfo Makefile

emulators/wine-devel: Update 11.12 => 11.13

Changelog:
- Better support for input pointers.
- Improved keyboard scancode mapping on X11.
- Various bug fixes.
https://gitlab.winehq.org/wine/wine/-/releases/wine-11.13

PR:             296690
Sponsored by:   UNIS Labs
DeltaFile
+3-3emulators/wine-devel/distinfo
+1-1emulators/wine-devel/Makefile
+1-0emulators/wine-devel/pkg-plist
+5-43 files

FreeBSD/ports 131d7b4security/netbird distinfo Makefile

security/netbird: Update 0.72.2 => 0.74.4

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.72.3
https://github.com/netbirdio/netbird/releases/tag/v0.72.4
https://github.com/netbirdio/netbird/releases/tag/v0.73.0
https://github.com/netbirdio/netbird/releases/tag/v0.73.1
https://github.com/netbirdio/netbird/releases/tag/v0.73.2
https://github.com/netbirdio/netbird/releases/tag/v0.74.0
https://github.com/netbirdio/netbird/releases/tag/v0.74.1
https://github.com/netbirdio/netbird/releases/tag/v0.74.2
https://github.com/netbirdio/netbird/releases/tag/v0.74.3
https://github.com/netbirdio/netbird/releases/tag/v0.74.4

Commit log:
https://github.com/netbirdio/netbird/compare/v0.72.2...v0.74.4

PR:             296688
Sponsored by:   UNIS Labs

    [3 lines not shown]
DeltaFile
+5-5security/netbird/distinfo
+1-2security/netbird/Makefile
+6-72 files

FreeBSD/ports 77282desecurity/netbird distinfo Makefile

security/netbird: Update 0.72.2 => 0.74.4

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.72.3
https://github.com/netbirdio/netbird/releases/tag/v0.72.4
https://github.com/netbirdio/netbird/releases/tag/v0.73.0
https://github.com/netbirdio/netbird/releases/tag/v0.73.1
https://github.com/netbirdio/netbird/releases/tag/v0.73.2
https://github.com/netbirdio/netbird/releases/tag/v0.74.0
https://github.com/netbirdio/netbird/releases/tag/v0.74.1
https://github.com/netbirdio/netbird/releases/tag/v0.74.2
https://github.com/netbirdio/netbird/releases/tag/v0.74.3
https://github.com/netbirdio/netbird/releases/tag/v0.74.4

Commit log:
https://github.com/netbirdio/netbird/compare/v0.72.2...v0.74.4

PR:             296688
Sponsored by:   UNIS Labs
MFH:            2026Q3
DeltaFile
+5-5security/netbird/distinfo
+1-2security/netbird/Makefile
+6-72 files

FreeBSD/ports e0acf96security/dogtag-pki Makefile, security/dogtag-pki/files patch-base_common_python_pki_____init____.py

security/dogtag-pki: Fix PKI version file path

Read share/pki/VERSION from LOCALBASE instead of the Linux
/usr/share/pki path.

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-0security/dogtag-pki/files/patch-base_common_python_pki_____init____.py
+1-1security/dogtag-pki/Makefile
+12-12 files

FreeBSD/ports a84928dcad/qspeakers distinfo Makefile

cad/qspeakers: Update to upstream release 1.8.6

Details:
- Mostly bugfixes, see
  https://github.com/be1/qspeakers/compare/1.8.5...1.8.6

MFH:            2026Q3
(cherry picked from commit 385bc3256cbdfeee2b079fd65ee8e96ca0164879)
DeltaFile
+3-3cad/qspeakers/distinfo
+3-2cad/qspeakers/Makefile
+6-52 files

FreeBSD/ports 385bc32cad/qspeakers distinfo Makefile

cad/qspeakers: Update to upstream release 1.8.6

Details:
- Mostly bugfixes, see
  https://github.com/be1/qspeakers/compare/1.8.5...1.8.6

MFH:            2026Q3
DeltaFile
+3-3cad/qspeakers/distinfo
+3-2cad/qspeakers/Makefile
+6-52 files

FreeBSD/ports 3694a9adevel/jansson distinfo Makefile

devel/jansson: Fix symbol versioning

PR:             296617
MFH:            2026Q3
Differential Revision:  https://reviews.freebsd.org/D58120

(cherry picked from commit 29783922a8601e22f1d5ad36e132703c710d7ee8)
DeltaFile
+5-1devel/jansson/distinfo
+5-0devel/jansson/Makefile
+10-12 files

FreeBSD/ports 2978392devel/jansson distinfo Makefile

devel/jansson: Fix symbol versioning

PR:             296617
MFH:            2026Q3
Differential Revision:  https://reviews.freebsd.org/D58120
DeltaFile
+5-1devel/jansson/distinfo
+5-0devel/jansson/Makefile
+10-12 files

FreeBSD/ports cb66985databases/ladybug distinfo Makefile

databases/ladybug: Update 0.18.0 => 0.18.1

Changelog:
https://github.com/LadybugDB/ladybug/releases/tag/v0.18.1

PR:             296684
Sponsored by:   UNIS Labs
MFH:            2026Q3

(cherry picked from commit 4e7586e42b2c05048a91e372a4cdd05032df1e6e)
DeltaFile
+3-3databases/ladybug/distinfo
+2-2databases/ladybug/Makefile
+5-52 files

FreeBSD/ports 4e7586edatabases/ladybug distinfo Makefile

databases/ladybug: Update 0.18.0 => 0.18.1

Changelog:
https://github.com/LadybugDB/ladybug/releases/tag/v0.18.1

PR:             296684
Sponsored by:   UNIS Labs
MFH:            2026Q3
DeltaFile
+3-3databases/ladybug/distinfo
+2-2databases/ladybug/Makefile
+5-52 files

FreeBSD/ports b58cd2fnet/nfstrace Makefile

net/nfstrace: Fix build with json-c 0.19

json-c 0.19 added static inline accessors to <json-c/linkhash.h>,
which trigger -Wunused-function when building the bundled JSON
analyzer with -Werror.

Suppress the warning by adding -Wno-unused-function to CFLAGS.

Reported by:    olgeni
Differential Revision: https://reviews.freebsd.org/D58135
DeltaFile
+2-2net/nfstrace/Makefile
+2-21 files

FreeBSD/ports a065e3esysutils/rubygem-tmuxinator distinfo Makefile

sysutils/rubygem-tmuxinator: Update to 3.4.1

Changes:        https://github.com/tmuxinator/tmuxinator/releases
DeltaFile
+3-3sysutils/rubygem-tmuxinator/distinfo
+1-1sysutils/rubygem-tmuxinator/Makefile
+4-42 files

FreeBSD/ports 5488df9net/rubygem-omniauth-twitter distinfo Makefile

net/rubygem-omniauth-twitter: Update to 1.5.0

Changes:        https://github.com/arunagw/omniauth-twitter/blob/master/CHANGELOG.md
DeltaFile
+3-3net/rubygem-omniauth-twitter/distinfo
+3-2net/rubygem-omniauth-twitter/Makefile
+6-52 files

FreeBSD/ports 008f57dnet/rubygem-devfile distinfo Makefile

net/rubygem-devfile: Update to 0.5.1

Changes:        https://gitlab.com/gitlab-org/ruby/gems/devfile-gem/-/commits/main
DeltaFile
+3-3net/rubygem-devfile/distinfo
+1-1net/rubygem-devfile/Makefile
+4-42 files

FreeBSD/ports 21af9d2mail/rubygem-mail distinfo Makefile

mail/rubygem-mail: Update to 2.9.1

Changes:        https://github.com/mikel/mail/releases
DeltaFile
+3-3mail/rubygem-mail/distinfo
+1-1mail/rubygem-mail/Makefile
+4-42 files

FreeBSD/ports 2b84cbadevel/rubygem-tilt distinfo Makefile

devel/rubygem-tilt: Update to 2.8.0

Changes:        https://github.com/jeremyevans/tilt/blob/master/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-tilt/distinfo
+1-1devel/rubygem-tilt/Makefile
+4-42 files

FreeBSD/ports 5439d5bgraphics/rubygem-rmagick distinfo Makefile

graphics/rubygem-rmagick: Update to 7.0.5

Changes:        https://github.com/rmagick/rmagick/blob/main/CHANGELOG.md
DeltaFile
+3-3graphics/rubygem-rmagick/distinfo
+1-1graphics/rubygem-rmagick/Makefile
+4-42 files

FreeBSD/ports c05d6cadevel/rubygem-hoe distinfo Makefile

devel/rubygem-hoe: Update to 4.7.1

Changes:        https://github.com/seattlerb/hoe/blob/master/History.rdoc
                https://docs.seattlerb.org/hoe/History_rdoc.html
DeltaFile
+3-3devel/rubygem-hoe/distinfo
+1-1devel/rubygem-hoe/Makefile
+4-42 files

FreeBSD/ports cf35413devel/rubygem-sequel distinfo Makefile

devel/rubygem-sequel: Update to 5.106.0

Changes:        https://github.com/jeremyevans/sequel/blob/master/CHANGELOG
                https://sequel.jeremyevans.net/rdoc/files/CHANGELOG.html
DeltaFile
+3-3devel/rubygem-sequel/distinfo
+1-1devel/rubygem-sequel/Makefile
+4-42 files

FreeBSD/ports 04e4116net/rubygem-google-cloud-storage distinfo Makefile

net/rubygem-google-cloud-storage: Update to 1.62.0

Changes:        https://github.com/googleapis/google-cloud-ruby/releases
                https://github.com/googleapis/google-cloud-ruby/blob/main/google-cloud-storage/CHANGELOG.md
DeltaFile
+3-3net/rubygem-google-cloud-storage/distinfo
+1-1net/rubygem-google-cloud-storage/Makefile
+4-42 files

FreeBSD/ports 323799cwww/rubygem-passenger distinfo Makefile, www/rubygem-passenger/files patch-gemspec

www/rubygem-passenger: Update to 6.1.7

Changes:        https://github.com/phusion/passenger/releases
DeltaFile
+3-3www/rubygem-passenger/distinfo
+2-2www/rubygem-passenger/files/patch-gemspec
+1-1www/rubygem-passenger/Makefile
+6-63 files

FreeBSD/ports cf1db9ctextproc/rubygem-commonmarker distinfo Makefile.crates

textproc/rubygem-commonmarker: Update to 2.8.3

Changes:        https://github.com/gjtorikian/commonmarker/releases
DeltaFile
+87-163textproc/rubygem-commonmarker/distinfo
+42-80textproc/rubygem-commonmarker/Makefile.crates
+1-2textproc/rubygem-commonmarker/Makefile
+130-2453 files

FreeBSD/ports 25e2cd1net/rubygem-google-cloud-env distinfo Makefile

net/rubygem-google-cloud-env: Update to 2.4.0

Changes:        https://github.com/googleapis/ruby-cloud-env/releases
DeltaFile
+3-3net/rubygem-google-cloud-env/distinfo
+1-1net/rubygem-google-cloud-env/Makefile
+4-42 files

FreeBSD/ports b75e6bemisc/rubygem-octicons distinfo Makefile

misc/rubygem-octicons: Update to 19.29.1

Changes:        https://github.com/primer/octicons/releases
DeltaFile
+3-3misc/rubygem-octicons/distinfo
+1-1misc/rubygem-octicons/Makefile
+4-42 files

FreeBSD/ports d16b8b6devel/rubygem-sorbet-runtime distinfo Makefile

devel/rubygem-sorbet-runtime: Update to 0.6.13323

Changes:        https://github.com/sorbet/sorbet/releases
DeltaFile
+3-3devel/rubygem-sorbet-runtime/distinfo
+1-1devel/rubygem-sorbet-runtime/Makefile
+4-42 files

FreeBSD/ports a07ac17misc/rubygem-mime-types-data distinfo Makefile

misc/rubygem-mime-types-data: Update to 3.2026.0701

Changes:        https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md
DeltaFile
+3-3misc/rubygem-mime-types-data/distinfo
+1-1misc/rubygem-mime-types-data/Makefile
+4-42 files

FreeBSD/ports 882af80devel/rubygem-xdg distinfo Makefile

devel/rubygem-xdg: Update to 10.3.0

Changes:        https://github.com/bkuhlmann/xdg/commits/main
DeltaFile
+3-3devel/rubygem-xdg/distinfo
+1-1devel/rubygem-xdg/Makefile
+4-42 files

FreeBSD/ports 2ec4d66devel/rubygem-ruby-lsp distinfo Makefile

devel/rubygem-ruby-lsp: Update to 0.26.10

Changes:        https://github.com/Shopify/ruby-lsp/releases
DeltaFile
+3-3devel/rubygem-ruby-lsp/distinfo
+1-1devel/rubygem-ruby-lsp/Makefile
+4-42 files