FreeBSD/src ee58056stand/powerpc/boot1.chrp Makefile

boot1.chrp: Specify --image-base

This is required for LLVM 22's ld.lld to avoid a build error:

ld.lld: error: section '.text' address (0x38000) is smaller than image base (0x10000000); specify --image-base
ld.lld: error: section '.rodata' address (0x3b308) is smaller than image base (0x10000000); specify --image-base
ld.lld: error: section '.data' address (0x3b610) is smaller than image base (0x10000000); specify --image-base
ld.lld: error: section '.bss' address (0x3f618) is smaller than image base (0x10000000); specify --image-base

Use 0x38000 for the image base, which is the address of the lowest
(and only) LOAD segment in the file.

Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56459

(cherry picked from commit aa0bc7cca153f67f8becec8a8fb259ff5fd30fd0)
DeltaFile
+1-1stand/powerpc/boot1.chrp/Makefile
+1-11 files

FreeBSD/src 0a919e2lib/libifconfig libifconfig_bridge.c

libifconfig: Skip bridge VLAN config for span members

bridge(4) doesn't support BRDGGIFVLANSET for span members, which
means if a span interface is configured, libifconfig will fail to
fetch bridge members.  Skip this for IFBIF_SPAN members.

PR:     292634
MFC after:      3 days
Reported by:    Emrion <kmachine at free.fr>
Reviewed by:    pouria, zlei
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56694

(cherry picked from commit 454322c08b8aa181939c8d920472f03cfd591032)
DeltaFile
+5-0lib/libifconfig/libifconfig_bridge.c
+5-01 files

FreeBSD/src 457c621sys/fs/nfsserver nfs_nfsdstate.c

nfsd: Disable use of callbacks for NFSv4.0

Commit 71ac1ec5c9d9 disabled callbacks for the NFS
client for NFSv4.0.  This patch does the same for
the NFSv4.0 server.

The only use for callbacks for NFSv4.0 is delegations
and delegations rarely work well for NFSv4.0 anyhow.

Therefore, this patch disables callbacks for the
NFSv4.0 server.  This is the same behavior as
occurs when vfs.nfsd.issue_delegations is 0.

This change allowed the functions called
nfsrv_getclientipaddr() and nfsrv_getipnumber() to be
removed from the kernel.

MFC after:      2 weeks
DeltaFile
+38-245sys/fs/nfsserver/nfs_nfsdstate.c
+38-2451 files

FreeBSD/ports 12f571bmisc/snakemake Makefile distinfo

misc/snakemake: update 9.19.0 → 9.20.0

Reported by:    portscout
DeltaFile
+4-3misc/snakemake/Makefile
+3-3misc/snakemake/distinfo
+7-62 files

FreeBSD/ports 02ba113deskutils/qmd Makefile, deskutils/qmd/files package-lock.json package-lock-node-llama-cpp.json

deskutils/qmd: New port: On-device hybrid search for markdown files
DeltaFile
+3,715-0deskutils/qmd/files/package-lock.json
+1,808-0deskutils/qmd/files/package-lock-node-llama-cpp.json
+467-0deskutils/qmd/files/package-lock-better-sqlite3.json
+124-0deskutils/qmd/Makefile
+74-0deskutils/qmd/files/package-lock-tree-sitter-typescript.json
+54-0deskutils/qmd/files/package-lock-tree-sitter-go.json
+6,242-011 files not shown
+6,527-017 files

FreeBSD/ports 7f4d0besecurity/kuku pkg-plist Makefile

security/kuku: update 2.1.0 → 3.0.0

Reported by:    portscout
DeltaFile
+13-13security/kuku/pkg-plist
+5-1security/kuku/Makefile
+3-3security/kuku/distinfo
+21-173 files

FreeBSD/ports d6234acsysutils/xcp distinfo Makefile

sysutils/xcp: update 0.24.7 → 0.24.8
DeltaFile
+141-113sysutils/xcp/distinfo
+70-57sysutils/xcp/Makefile
+211-1702 files

FreeBSD/ports f45c008textproc/cpp-peglib distinfo Makefile

textproc/cpp-peglib: update 1.10.2 → 1.10.3
DeltaFile
+3-3textproc/cpp-peglib/distinfo
+2-2textproc/cpp-peglib/Makefile
+5-52 files

FreeBSD/ports 8033376x11/rio distinfo Makefile

x11/rio: update 0.4.0 → 0.4.2
DeltaFile
+7-7x11/rio/distinfo
+3-3x11/rio/Makefile
+10-102 files

FreeBSD/ports a9b92badeskutils/skim distinfo Makefile

deskutils/skim: update 4.6.1 → 4.6.2
DeltaFile
+21-21deskutils/skim/distinfo
+10-10deskutils/skim/Makefile
+31-312 files

FreeBSD/src ef029e4sys/netinet ip_mroute.c

ip_mroute: Avoid leaking uninitialized bytes to the routing daemon

Reported by:    KMSAN
MFC after:      1 week

(cherry picked from commit e0751ae801b3e29c6dd52905ef1d63d5cd643b0a)
DeltaFile
+7-6sys/netinet/ip_mroute.c
+7-61 files

FreeBSD/src e125728tests/sys/netinet ip_mroute.py ip6_mrouted.c, tests/sys/netinet6 Makefile

tests: Add some simple regression tests for ip_mroute

These use atf_python to create a number of hosts linked to a router.
The router runs pimd (for IPv4) or ip6_mrouter (simplistic IPv6
multicast router that I wrote since I couldn't find one in the ports
tree).  The vnet_host*_handler() methods are invoked in different VNET
jails connected to the router; they register the connected epair with a
multicast group and verify that they can send messages to each other.

The tests are synchronized by sending messages over a unix domain
socket.  The flow is something like:
1) test startup_method() is called, the unix socket is created,
2) the superclass creates jails and links them together using the
   declared topology,
3) we wait for all child jails to start up and send a message on the
   unix socket indicating that they are ready
4) we start the routing daemon in the main jail,
5) the test actually starts; starttest() kicks off the
   vnet_host*_handlers(), which mostly just verify that they can send

    [13 lines not shown]
DeltaFile
+428-0tests/sys/netinet/ip_mroute.py
+191-0tests/sys/netinet/ip6_mrouted.c
+2-1tests/sys/netinet/Makefile
+1-0tests/sys/netinet6/Makefile
+622-14 files

FreeBSD/src 21c9c53sys/netinet ip_mroute.c, sys/netinet6 ip6_mroute.c

ip_mroute: Fix a lock leak in X_ip_mforward()

If a FIB does not have a router configured, X_ip_mforward() would leak a
lock.  Plug the leak.

The IPv6 counterpart did not have such a check.  It wouldn't send an
upcall to a non-existent router anyway due to the router_ver check, but
we should verify that a router is present anyway.

Add regression test cases to exercise these code paths.

Reported by:    Claude Opus 4.6
Fixes:          0bb9c2b665d9 ("ip6_mroute: FIBify")
Sponsored by:   Klara, Inc.
Sponsored by:   Stormshield

(cherry picked from commit 18b7115cba2f698909a4801dc2cc1b04b1f4f210)
DeltaFile
+140-13tests/sys/netinet/ip_mroute.py
+3-1sys/netinet/ip_mroute.c
+4-0sys/netinet6/ip6_mroute.c
+147-143 files

FreeBSD/src 7ed46c4sys/netinet6 ip6_mroute.c

ip6_mroute: Handle interface detach events

When an interface goes away we need to make sure the v6 multicast
routing tables don't carry any dangling references to the ifnet.  The v4
code handles this already.  Copy the approach there and use an
eventhandler to purge the corresponding MIF, if one exists, and further
go through all routes in the FIB and remove references to the interface.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55246

(cherry picked from commit a1c042a9641c9df08010e87d0928703849ff9853)
DeltaFile
+67-2sys/netinet6/ip6_mroute.c
+67-21 files

FreeBSD/src 24b9fb4sys/netinet6 ip6_mroute.c

ip6_mroute: Pass the multicast interface number directly to del_m6if()

There's no need to pass a pointer to the interface number.  No
functional change intended.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55245

(cherry picked from commit 82272cbf56aa5646611c6f1049501cc345fcf6ec)
DeltaFile
+13-13sys/netinet6/ip6_mroute.c
+13-131 files

FreeBSD/src fd30007sys/netinet6 ip6_mroute.c in6.c

ip6_mroute: FIBify

Modify the control plane (ioctl and socket option handlers) to use the
routing socket FIB to index into the mfctable array.  Modify the
forwarding plane to use the mbuf's FIB to determine which routing table
to use.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55242

(cherry picked from commit 0bb9c2b665d90934ae16eee152b6b4f4f4be0dd5)
DeltaFile
+77-54sys/netinet6/ip6_mroute.c
+6-11sys/netinet6/in6.c
+1-1sys/netinet6/raw_ip6.c
+1-1sys/netinet6/ip6_mroute.h
+85-674 files

FreeBSD/src 6be9359sys/netinet6 ip6_mroute.c

ip6_mroute: VNETify counters

Commit a223d6c489c7 made most of the ip6_mroute state per-VNET, but
failed to do this for a couple of counter structures.  Make them
per-VNET too.

Reported by:    zlei
Reviewed by:    pouria, zlei
Fixes:          a223d6c489c7 ("ip6_mroute: Start putting global variables into a structure")
Differential Revision:  https://reviews.freebsd.org/D56253

(cherry picked from commit 77df0240307ebbc606e17c9b83c0d940d33c2649)
DeltaFile
+10-8sys/netinet6/ip6_mroute.c
+10-81 files

FreeBSD/src f544b5dsys/netinet ip_mroute.c, sys/netinet6 ip6_mroute.c

Fix nooptions VIMAGE build

The recent FIBify commits deref struct thread without including
sys/proc.h, which can result in a compiler error.  This becomes
apparent when building with LINT-NOVIMAGE, as net/vnet.h includes
sys/proc.h.  Fix this by directly including sys/proc.h

Fixes: 4c486fe40267 ("ip_mroute: FIBify"), 0bb9c2b665d9 ("ip6_mroute: FIBify")

(cherry picked from commit 3f79bc9ca336f634e1afa262ccf5155882550a8a)
DeltaFile
+1-0sys/netinet/ip_mroute.c
+1-0sys/netinet6/ip6_mroute.c
+2-02 files

FreeBSD/src d7a5c26sys/netinet6 ip6_mroute.h

ip6_mroute: Make ip6_mroute.h more self-contained

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55243

(cherry picked from commit d4339cebbe8e0b26f92a74eb5d4d9a20403c2ad1)
DeltaFile
+3-0sys/netinet6/ip6_mroute.h
+3-01 files

FreeBSD/src 75f5baesys/netinet6 ip6_mroute.c

ip6_mroute: Fix the type name in sysctl_mfctable()

No functional change since apparently it's fine to compute the size of
a pointer type when the base type is undefined.

Fixes:  0bb9c2b665d9 ("ip6_mroute: FIBify")

(cherry picked from commit 0dbbed21a643f6c95bebe23008a332ff68adb203)
DeltaFile
+1-1sys/netinet6/ip6_mroute.c
+1-11 files

FreeBSD/src f6a4a0csys/netinet ip_mroute.c, sys/netinet6 ip6_mroute.c

ip(6)_mroute: Grow the routing tables when the number of FIBs changes

Use the new rtnumfibs_change event to expand the mfctable array when the
number of FIBs increases.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55240

(cherry picked from commit 97a4bc9a0da7cd63c660ce59a9dd7c87efe1f218)
DeltaFile
+44-10sys/netinet/ip_mroute.c
+40-3sys/netinet6/ip6_mroute.c
+84-132 files

FreeBSD/src 4c19a50sys/netinet6 ip6_mroute.c

ip6_mroute: Start putting global variables into a structure

As in the IPv4 version of this change, I added a struct mf6ctable
structure which holds all global routing table state, soon to become
per-FIB state.

Note that much of the v6 multicast routing code was not VNETified; this
change fixes that too.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55238

(cherry picked from commit a223d6c489c7ea9a384f3d2bbda1b05b00d4502d)
DeltaFile
+229-162sys/netinet6/ip6_mroute.c
+229-1621 files

FreeBSD/src 9cb93a5sys/net route.h, sys/net/route route_tables.c

net/route: Add an eventhandler for rt_numfibs changes

The multicast routing code will start implementing per-FIB routing
tables.  As a part of this, it needs to be notified when the number of
FIBs changes, so that it can expand its tables.

Add an eventhandler for this purpose.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55239

(cherry picked from commit 81dbacbb7d71a53eef99ce73f7e589a165c3e1d6)
DeltaFile
+6-0sys/net/route.h
+3-1sys/net/route/route_tables.c
+9-12 files

FreeBSD/src 08799f8sys/netinet ip_mroute.c ip_output.c

ip_mroute: FIBify

Modify the control plane (ioctl and socket option handlers) to use the
routing socket FIB to index into the mfctable array.  Modify the
forwarding plane to use the mbuf's FIB to determine which routing table
to use.

MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55241

(cherry picked from commit 4c486fe402673c49443293cfb70ad4da61d39916)
DeltaFile
+167-152sys/netinet/ip_mroute.c
+6-5sys/netinet/ip_output.c
+3-2sys/netinet/ip_mroute.h
+2-2sys/netinet/raw_ip.c
+2-1sys/netinet/in_mcast.c
+180-1625 files

FreeBSD/src 8304b97sys/netinet ip_mroute.c

ip_mroute: Start moving globals into a structure

I would like to support per-FIB multicast routing tables, such that one
can run a routing daemon per-FIB, with each daemon oblivious to the
existence of others.  Currently the multicast routing code is completely
unaware of FIBs.

To that end, start collecting various global variables in ip_mroute.c
into a per-VNET struct mfctable.  In a future patch this will be
expanded into an array of mfctable structures, one per FIB.  For now,
all of the state is collected into V_mfctables[0].

Each mfctable contains, among other things:
- a pointer to the routing socket, if routing is enabled,
- a hash table of routing cache entries,
- an table of network interfaces participating in the routing
  configuration

This change has no functional effect, it is just factoring out these

    [8 lines not shown]
DeltaFile
+266-207sys/netinet/ip_mroute.c
+266-2071 files

FreeBSD/doc 13dfc9cwebsite/themes/beastie/layouts/_partials sidenav.html

website: Fix deeplink for how to read SAs.

Reported by:    Austin Ralls
DeltaFile
+1-1website/themes/beastie/layouts/_partials/sidenav.html
+1-11 files

FreeBSD/ports 4073704dns/doh-proxy distinfo Makefile.crates

dns/doh-proxy: Update to 0.9.16
DeltaFile
+109-141dns/doh-proxy/distinfo
+54-70dns/doh-proxy/Makefile.crates
+1-2dns/doh-proxy/Makefile
+164-2133 files

FreeBSD/ports 86aba01textproc/ugrep distinfo Makefile

textproc/ugrep: Update to 7.8.1
DeltaFile
+3-3textproc/ugrep/distinfo
+1-1textproc/ugrep/Makefile
+4-42 files

FreeBSD/src 667dd9esbin/ping/tests ping_test.sh

tests/ping: Fix date(1) invocations

Fixes:  069681afd58a ("ping: use CLOCK_REALTIME for ICMP Originate Timestamp")
DeltaFile
+2-2sbin/ping/tests/ping_test.sh
+2-21 files

FreeBSD/src 47ae013tests/sys/net if_lagg_test.sh

tests/if_lagg: Minor improvements

- Set require.kmods instead of relying on ifconfig to load if_lagg.ko,
  as this doesn't work when running within a jail.
- Simplify helper functions which create tap and lagg devices.

MFC after:      1 week
DeltaFile
+11-24tests/sys/net/if_lagg_test.sh
+11-241 files