FreeBSD/src 806f0b4sys/dev/bnxt/bnxt_en if_bnxt.c

bnxt: Report actual link speed, rather than hard-coded 100Gbs

(cherry picked from commit fdca6b70aa7ebbc95b544cec6e155ea5b1041899)
DeltaFile
+1-1sys/dev/bnxt/bnxt_en/if_bnxt.c
+1-11 files

FreeBSD/src 0dc46fbsys/net ieee8023ad_lacp.c

lacp: Simplify lacp_compose_key()

(cherry picked from commit e98ed8d99fd41873dc52cf78e70e9f12e3e93042)
DeltaFile
+40-133sys/net/ieee8023ad_lacp.c
+40-1331 files

FreeBSD/src 020f7f6sys/net ieee8023ad_lacp.c

lacp: fix link state with multiple aggregators

(cherry picked from commit 9f69446d45484c16d2b9b9bf71bbb2fca86cb6e5)
DeltaFile
+6-2sys/net/ieee8023ad_lacp.c
+6-21 files

FreeBSD/src b86eb36sys/net ieee8023ad_lacp.c

lacp: Sort port map by interface index

(cherry picked from commit 7ff3b13f12d97b7f67f09ecb9141e6dbaa1ad007)
DeltaFile
+25-1sys/net/ieee8023ad_lacp.c
+25-11 files

FreeBSD/src 60bb6c3sys/dev/mlx5/mlx5_en mlx5_en_main.c

mlx5en: guard against empty eth_proto_oper mask

(cherry picked from commit 17cf7760a98a87c33d0415e2d2e1d4b24dd69e4d)
DeltaFile
+7-0sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+7-01 files

FreeBSD/src d479355sys/dev/mlx5/mlx5_core mlx5_port.c

mlx5: Add missing speeds translation

(cherry picked from commit 49b78368c5ed9cf41dedfc1c02a597fd49468537)
DeltaFile
+3-0sys/dev/mlx5/mlx5_core/mlx5_port.c
+3-01 files

FreeBSD/src 2bdcf05contrib/ofed/libmlx5 mlx5.c, sys/dev/mlx5/mlx5_core mlx5_main.c

libmlx5: sync PCI device allowlist with mlx5_core_pci_table

(cherry picked from commit 0e2175cef5027728c0ca1ff98366cf6ecfbe2db3)
DeltaFile
+19-0contrib/ofed/libmlx5/mlx5.c
+4-0sys/dev/mlx5/mlx5_core/mlx5_main.c
+23-02 files

FreeBSD/src 69a8bf9contrib/ofed/libmlx5 mlx5.c, sys/dev/mlx5/mlx5_core mlx5_main.c

mlx5: Add PCI IDs for ConnectX-9.

(cherry picked from commit 741f489ed09ab1d9172d1f61aa341004b5c3e968)
DeltaFile
+1-1sys/dev/mlx5/mlx5_core/mlx5_main.c
+1-0contrib/ofed/libmlx5/mlx5.c
+2-12 files

FreeBSD/src 3ab9e20sys/dev/mlx5 port.h, sys/dev/mlx5/mlx5_core mlx5_port.c

mlx5: Add support for 800Gbit/s and 400Gbit/s with 2 lanes

(cherry picked from commit 3e4cbdebfc9bcb2f2c64acc8ee8f67c3383cd676)
DeltaFile
+44-0sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+12-0sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
+4-0sys/dev/mlx5/mlx5_core/mlx5_port.c
+3-0sys/dev/mlx5/port.h
+63-04 files

FreeBSD/src 05bd1cesys/ofed/drivers/infiniband/core ib_sysfs.c, sys/ofed/include/rdma ib_verbs.h

ibcore: Add support for XDR link speed.

(cherry picked from commit b3c09af215ee4803fa67ca94301f662d5eca03a0)
DeltaFile
+4-0sys/ofed/drivers/infiniband/core/ib_sysfs.c
+2-1sys/ofed/include/rdma/ib_verbs.h
+6-12 files

FreeBSD/src 5d044e4sys/dev/bnxt/bnxt_re ib_verbs.c, sys/dev/mlx5/mlx5_ib mlx5_ib_main.c

RDMA: Fix link active_speed size

(cherry picked from commit e5d8b775bbf6f378a591211e373859ec44f74149)
DeltaFile
+3-3sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
+3-2sys/dev/bnxt/bnxt_re/ib_verbs.c
+2-1sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
+1-1sys/dev/qlnx/qlnxr/qlnxr_verbs.c
+1-1sys/ofed/include/rdma/ib_verbs.h
+10-85 files

FreeBSD/src f71aaa2sys/net if_media.h ieee8023ad_lacp.c

net/if_media.h: Add 800GBase-X and 200Gbit/s per lane support

(cherry picked from commit 51f313dbc7a28a7bd2013c205261f29f115eb0a7)
DeltaFile
+42-0sys/net/if_media.h
+3-0sys/net/ieee8023ad_lacp.c
+45-02 files

FreeBSD/src d1f7902sys/sys systm.h

sys/systm.h: include sys/limits.h for SSIZE_MAX

PR:     296489

(cherry picked from commit bcb471cfb499f61d98abdc7bfd48bee0e229b02b)
DeltaFile
+1-0sys/sys/systm.h
+1-01 files

FreeBSD/src 5ed7b34sys/x86/include specialreg.h, sys/x86/x86 identcpu.c

x86: add CPUID bits for SHA512/SM3/SM4

(cherry picked from commit cf851111b02fae7425f9642460762d644983fdca)
DeltaFile
+3-0sys/x86/include/specialreg.h
+3-0sys/x86/x86/identcpu.c
+6-02 files

FreeBSD/src 10ed74blib/libc/gen posix_spawn.c

posix_spawn(3): create a guard page below the stack for rfork_thread on x86

(cherry picked from commit 2767a1f3686e5b1657ff4c3d57737c7f21598125)
DeltaFile
+18-29lib/libc/gen/posix_spawn.c
+18-291 files

FreeBSD/src b9ff22flib/libc/gen posix_spawn.c

do_posix_spawn(): use bool

(cherry picked from commit b516c234d0e4ccd69ca1f3d3a8bb80eed3f0a87c)
DeltaFile
+3-3lib/libc/gen/posix_spawn.c
+3-31 files

FreeBSD/src b3ce127libexec/rtld-elf map_object.c

rtld: unify the return path for map_object()

(cherry picked from commit 70fb92cd56bfe88a12d2a253542320bad7198321)
DeltaFile
+4-6libexec/rtld-elf/map_object.c
+4-61 files

FreeBSD/src e8658b2libexec/rtld-elf xmalloc.c rtld.c

rtld: add spinlock around the crt malloc calls

(cherry picked from commit 559f45638dfa50195c591bb0f7f3d3d8f3bb8dc0)
DeltaFile
+71-1libexec/rtld-elf/xmalloc.c
+0-25libexec/rtld-elf/rtld.c
+71-262 files

FreeBSD/src 682ebe1libexec/rtld-elf rtld.c map_object.c

rtld: stop using unbound alloca()

PR:     295991

(cherry picked from commit 1e370f038778e16c4b31f8992dda339d429e5cb8)
DeltaFile
+58-24libexec/rtld-elf/rtld.c
+3-1libexec/rtld-elf/map_object.c
+2-0libexec/rtld-elf/rtld.h
+63-253 files

FreeBSD/src 0c48190sys/kgssapi gss_impl.c, usr.sbin/gssd gssd.c

gss_impl.c: Fix a nfsd hang when the kgssapi.ko is loaded, but no gssd

After the conversion to using netlink, the kgssapi had
no way of knowing if the gssd daemon was running.
As such, a boot where the kgssapi is loaded, but the
gssd is not enabled would hang the nfsd for a very
long time. (Many timeouts at 300sec each.)

This patch adds a Null RPC upcall with a 200msec
timeout to check to see if the gssd is running.
If the gssd is not running, the nfsd starts up
(without Kerberos support) with only a 200msec
delay.)

Also, move the svc_svc_nl_create() and svc_reg() calls in gssd.c
to before the daemon() call, so they are guaranteed to have
been done before the nfsd(8) daemon is started by
the rc scripts.


    [3 lines not shown]
DeltaFile
+40-2sys/kgssapi/gss_impl.c
+5-17usr.sbin/gssd/gssd.c
+45-192 files

FreeBSD/src 759ce9abin/ps ps.1

ps.1: Fix broken comment line

While here, remove the long-unused dash in the first line.

Reviewed by:    ziaee, olce
Fixes:          ddf144a04b53 ("ps.1: Revamp: Explain general principles, update to match reality")
MFC after:      1 day
Differential Revision:  https://reviews.freebsd.org/D58038
DeltaFile
+2-2bin/ps/ps.1
+2-21 files

FreeBSD/src 22ddc9esys/dev/firewire if_fwip.c

fwip: Fix M_PKTHDR loss in fwip_async_output broadcast path

M_PREPEND in the broadcast branch may call m_prepend(9) which allocates
a new head mbuf and calls m_move_pkthdr(), stripping M_PKTHDR from the
old mbuf.

xfer->mbuf was set before M_PREPEND, so it pointed at the
deheadered old mbuf. bus_dmamap_load_mbuf(9) asserts M_PKTHDR and
panics.

Reviewed by:    zlei, adrian
Differential Revision:  https://reviews.freebsd.org/D57495
DeltaFile
+15-7sys/dev/firewire/if_fwip.c
+15-71 files

FreeBSD/src 5dfe195contrib/bmake meta.c var.c, contrib/bmake/unit-tests dep.mk

Merge bmake-20260704

Merge commit 'e988c5eab5231646c612d35ff5b16122cebfbf6a'
DeltaFile
+268-105contrib/bmake/meta.c
+46-8contrib/bmake/unit-tests/dep.mk
+40-12contrib/bmake/var.c
+32-8contrib/bmake/bmake.1
+32-8contrib/bmake/make.1
+25-12contrib/bmake/bmake.cat1
+443-15320 files not shown
+649-20426 files

FreeBSD/src e988c5e. meta.c var.c, unit-tests dep.mk

Import bmake-20260704

Intersting/relevant changes since bmake-20260508

ChangeLog since bmake-20260508

2026-07-04  Simon J Gerraty  <sjg at beast.crufty.net>

        * VERSION (_MAKE_VERSION): 20260704

2026-07-03  Simon J Gerraty  <sjg at beast.crufty.net>

        * VERSION (_MAKE_VERSION): 20260703
        Merge with NetBSD make, pick up
        o meta.c: do a better job of resolving relative paths
        o var.c: add alternation support to :M
        eg. :M*{Makefile*,.mk} matches any *Makefile* or *.mk

2026-07-02  Simon J Gerraty  <sjg at beast.crufty.net>

    [56 lines not shown]
DeltaFile
+268-105meta.c
+46-8unit-tests/dep.mk
+40-12var.c
+32-8make.1
+32-8bmake.1
+25-12bmake.cat1
+443-15319 files not shown
+648-20325 files

FreeBSD/src fa50691lib/libsysdecode netlink.c

libsysdecode: decode PF Generic Netlink commands

Decode the Generic Netlink command header for messages
belonging to the PF Generic Netlink family. Display the
command name using the PF Generic Netlink command decoder.

Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Reviewed by:    kp
Sponsored-by:   Google LLC (GSoC 2026)
DeltaFile
+27-2lib/libsysdecode/netlink.c
+27-21 files

FreeBSD/src c268c80lib/libsysdecode netlink.c

libsysdecode: cache Generic Netlink family IDs

Record Generic Netlink family IDs learned from
CTRL_CMD_GETFAMILY responses and use them to decode subsequent
Generic Netlink messages using symbolic family names instead of
numeric IDs.

Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Reviewed by:    kp
Sponsored-by:   Google LLC (GSoC 2026)
DeltaFile
+32-0lib/libsysdecode/netlink.c
+32-01 files

FreeBSD/src 80586e8lib/libsysdecode netlink.c

libsysdecode: decode Generic Netlink controller messages

Decode Generic Netlink controller (GENL_ID_CTRL) messages in
Netlink payloads. Display the Generic Netlink header along with
the CTRL_CMD_GETFAMILY attributes, including the family ID and
family name.

Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Reviewed by:    kp
Sponsored-by:   Google LLC (GSoC 2026)
DeltaFile
+60-10lib/libsysdecode/netlink.c
+60-101 files

FreeBSD/src 8a1576dlib/libsysdecode sysdecode.h netlink.c, usr.bin/truss syscalls.c setup.c

truss: track Netlink socket protocols

Record the Netlink protocol associated with AF_NETLINK sockets when
they are created and pass it to libsysdecode during message decoding.

Use the protocol to distinguish between Generic Netlink and Route
Netlink sockets, ensuring that Generic Netlink decoding is only
performed for NETLINK_GENERIC sockets.

Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Reviewed by:    kp
Sponsored-by :  Google LLC (GSoC 2026)
DeltaFile
+20-12usr.bin/truss/syscalls.c
+2-1lib/libsysdecode/sysdecode.h
+1-1lib/libsysdecode/netlink.c
+1-0usr.bin/truss/setup.c
+1-0usr.bin/truss/truss.h
+25-145 files

FreeBSD/src 5ba2b4fsys/kern kern_jail.c

jail: prevent a race between jail_attach in different threads

Attaching to a jail changes its root directory and its process
credentials. These operations both require unlocking the jail, and also
need allprison_lock unlocked. That means that if two threads are trying
to attach to different jails at the same time, it's possible for the
process to end up with one jail's root directory but the other jail's
credentials.

Solve this by forcing the process into single-threaded mode during
system calls that attach to a jail (jail_attach, jail_attach_jd, and
sometimes jail_set).

Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D57858

(cherry picked from commit d4e0f4dab2d7f4de46bb79db1ca7e6e8a2e34746)
DeltaFile
+67-20sys/kern/kern_jail.c
+67-201 files

FreeBSD/src 530ee29sys/kern kern_jail.c

jail: clean up locking around do_jail_attach

jail_attach_jd passed PD_DEREF to do_jail_attach, assuming it would take
care of freeing the held prison. This is not true, as do_jail_attach
immediately cleared that flag, leaving the jail stock in dying state
when it is later removed.

Reported by:    markj
Reviewed by:    markj
Differential Revision:  <https://reviews.freebsd.org/D57674>

(cherry picked from commit 3584cde63e416d150214192721cead4b735ca0b5)
DeltaFile
+38-19sys/kern/kern_jail.c
+38-191 files