FreeBSD/src 51d5e8csys/modules/zfs zfs_config.h zfs_gitrev.h

zfs: update zfs_config.h and zfs_gitrev.h after ce7e1f86a (zfs-2.4.0-rc3)
DeltaFile
+15-2sys/modules/zfs/zfs_config.h
+1-1sys/modules/zfs/zfs_gitrev.h
+16-32 files

FreeBSD/src 8a4e4d1sys/kern subr_kdb.c

kdb: Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 0a53e6d8bc0b3a6332e228993d040fbf38f652fb)
DeltaFile
+1-1sys/kern/subr_kdb.c
+1-11 files

FreeBSD/src bbc7da8usr.sbin/pmcstat pmcpl_callgraph.c

pmcstat(8): Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 2b2a4f02e0872065c63baec8bf0069e3b677def7)
DeltaFile
+1-1usr.sbin/pmcstat/pmcpl_callgraph.c
+1-11 files

FreeBSD/src 3473db7sys/kern subr_kdb.c

kdb: Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 0a53e6d8bc0b3a6332e228993d040fbf38f652fb)
DeltaFile
+1-1sys/kern/subr_kdb.c
+1-11 files

FreeBSD/src 075982dusr.sbin/pmcstat pmcpl_callgraph.c

pmcstat(8): Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 2b2a4f02e0872065c63baec8bf0069e3b677def7)
DeltaFile
+1-1usr.sbin/pmcstat/pmcpl_callgraph.c
+1-11 files

FreeBSD/src e92fb47sys/kern subr_kdb.c

kdb: Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 0a53e6d8bc0b3a6332e228993d040fbf38f652fb)
DeltaFile
+1-1sys/kern/subr_kdb.c
+1-11 files

FreeBSD/src 8101a25usr.sbin/pmcstat pmcpl_callgraph.c

pmcstat(8): Fix a typo in a source code comment

- s/th/the/

(cherry picked from commit 2b2a4f02e0872065c63baec8bf0069e3b677def7)
DeltaFile
+1-1usr.sbin/pmcstat/pmcpl_callgraph.c
+1-11 files

FreeBSD/src ce7e1f8sys/contrib/openzfs/cmd/zdb zdb.c, sys/contrib/openzfs/cmd/zinject zinject.c

zfs: merge openzfs/zfs at 814f9afba (zfs-2.4-release) into stable/15

OpenZFS 2.4.0 rc3

Notable upstream pull request merges:
 #17750 964dfc317 FreeBSD: Correct _PC_MIN_HOLE_SIZE
 #17793 b9d1e28a7 ddt prune: Add SCL_ZIO deadlock workaround
 #17799 1585a10a8 Make mount/share errors non-fatal for zfs create/clone
 #17801 073b34b3e Fix display of default xattr to show 'sa'
 #17803 e09c86cb1 zvol: verify IO type is supported
 #17807 -multiple zpool iostat: fix regressions in "all pools" mode
                  after #17786
 #17826 b9356f06e Explicit set ashift for non-leaf vdevs
 #17830 f0bff230f Suppress some ashift warnings
 #17833 c1f55bff8 Fix the type of the raidz_outlier_check_interval_ms
                  parameter
 #17836 799bda73e Fix return value for setting zvol threading
 #17834 f0c76f8a7 libzpool/cmn_err: remove suppression, add stop option,
                  cleanup

    [7 lines not shown]
DeltaFile
+178-13sys/contrib/openzfs/cmd/zdb/zdb.c
+38-134sys/contrib/openzfs/lib/libzfs/libzfs.abi
+73-38sys/contrib/openzfs/module/os/linux/zfs/zvol_os.c
+1-104sys/contrib/openzfs/lib/libuutil/libuutil.abi
+1-104sys/contrib/openzfs/lib/libzfs_core/libzfs_core.abi
+70-11sys/contrib/openzfs/cmd/zinject/zinject.c
+361-40454 files not shown
+1,135-70860 files

FreeBSD/src e6e941esys/contrib/openzfs/cmd/zpool zpool_main.c, sys/contrib/openzfs/config kernel-userns-capabilities.m4 kernel-writeback.m4

zfs: merge openzfs/zfs at 0455150f1

Notable upstream pull request merges:
 #17836 adacf020c Fix return value for setting zvol threading
 #17839 44704616b zpool: fix conflict with -v and -o options
 #17851 3a55e76b8 FreeBSD: zfs_getpages: Don't zero freshly allocated pages
 #17863 0455150f1 FreeBSD zio_crypt.c: initialize uio variables before
                  access

Obtained from:  OpenZFS
OpenZFS commit: 0455150f1160dd7089ab31fefcfc58bfa548ab81
DeltaFile
+91-42sys/contrib/openzfs/cmd/zpool/zpool_main.c
+58-22sys/contrib/openzfs/module/zfs/vdev_removal.c
+0-79sys/contrib/openzfs/config/kernel-userns-capabilities.m4
+74-0sys/contrib/openzfs/module/os/linux/zfs/zpl_file.c
+58-0sys/contrib/openzfs/config/kernel-writeback.m4
+24-17sys/contrib/openzfs/module/icp/algs/sha2/sha2_generic.c
+305-16022 files not shown
+531-22728 files

FreeBSD/src 8578970lib/libc/inet inet_net_pton.c inet_net_ntop.c, lib/libc/tests/net inet_net_test.cc Makefile

libc: Import OpenBSD's inet_net_{ntop,pton}

Our versions of these functions (originally taken from BIND) simply
don't work correctly for AF_INET6.  These were removed from BIND itself
quite a while ago, but OpenBSD has made several fixes in the mean time,
so import their code.

Add tests for both functions.

PR:             289198
Reported by:    Nico Sonack <nsonack at herrhotzenplotz.de>
MFC after:      1 week
Reviewed by:    des
Obtained from:  OpenBSD (lib/libc/net)
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D52629

(cherry picked from commit 8f4a0d2f7b96099001dbc51e06114df1a0e6d291)


    [37 lines not shown]
DeltaFile
+114-267lib/libc/inet/inet_net_pton.c
+333-0lib/libc/tests/net/inet_net_test.cc
+52-154lib/libc/inet/inet_net_ntop.c
+2-0lib/libc/tests/net/Makefile
+501-4214 files

FreeBSD/src b4871belib/libc/inet inet_net_pton.c inet_net_ntop.c, lib/libc/tests/net inet_net_test.cc Makefile

libc: Import OpenBSD's inet_net_{ntop,pton}

Our versions of these functions (originally taken from BIND) simply
don't work correctly for AF_INET6.  These were removed from BIND itself
quite a while ago, but OpenBSD has made several fixes in the mean time,
so import their code.

Add tests for both functions.

PR:             289198
Reported by:    Nico Sonack <nsonack at herrhotzenplotz.de>
MFC after:      1 week
Reviewed by:    des
Obtained from:  OpenBSD (lib/libc/net)
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D52629

(cherry picked from commit 8f4a0d2f7b96099001dbc51e06114df1a0e6d291)


    [36 lines not shown]
DeltaFile
+114-267lib/libc/inet/inet_net_pton.c
+333-0lib/libc/tests/net/inet_net_test.cc
+52-154lib/libc/inet/inet_net_ntop.c
+2-0lib/libc/tests/net/Makefile
+501-4214 files

FreeBSD/src 1f95a51sbin/ipfw dummynet.c

ipfw: Update warning/error setsockopt references

Dummynet v3 switched to IP_DUMMYNET3 but did not update these
warnings/errors.

Fixes: cc4d3c30ea28 ("Bring in the most recent version of ipfw and dummynet, developed")
Sponsored by:   The FreeBSD Foundation
Differential Revision: sbin/ipfw/ipfw2.c
DeltaFile
+2-2sbin/ipfw/dummynet.c
+2-21 files

FreeBSD/src 83ac795share/examples/mdoc example.3 example.4

examples/mdoc: Remove text of BSD-2-Clause from mdoc examples

We live in the SPDX world now and our example manual pages should
reflect that.

Also, fix the order of the SPDX and copyright lines as per style(9).

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D53335
DeltaFile
+1-22share/examples/mdoc/example.3
+1-22share/examples/mdoc/example.4
+1-22share/examples/mdoc/example.9
+1-22share/examples/mdoc/example.1
+4-884 files

FreeBSD/src ec5b901share/man/man9 deadfs.9

deadfs.9: spell
DeltaFile
+1-1share/man/man9/deadfs.9
+1-11 files

FreeBSD/src 6fd7f97sys/dev/ice ice_drv_info.h ice_devids.h

ice(4): Add PCI IDs for E835 devices

Add device IDs and branding strings for E835 adapters.
This is a follow up for E830 adapters with Security Protocol
and Data Model (SPDM) support and RDMA support available
on 100 and 200Gbps links.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Approved by:    kbowling (mentor), erj (mentor)
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D52782

(cherry picked from commit b202176dc76d862f886778439b96dd1243d8b999)
DeltaFile
+39-0sys/dev/ice/ice_drv_info.h
+18-0sys/dev/ice/ice_devids.h
+9-0sys/dev/ice/ice_common.c
+66-03 files

FreeBSD/src 16004d2sys/dev/ice ice_drv_info.h ice_devids.h

ice(4): Add PCI IDs for E835 devices

Add device IDs and branding strings for E835 adapters.
This is a follow up for E830 adapters with Security Protocol
and Data Model (SPDM) support and RDMA support available
on 100 and 200Gbps links.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Approved by:    kbowling (mentor), erj (mentor)
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D52782

(cherry picked from commit b202176dc76d862f886778439b96dd1243d8b999)
DeltaFile
+39-0sys/dev/ice/ice_drv_info.h
+18-0sys/dev/ice/ice_devids.h
+9-0sys/dev/ice/ice_common.c
+66-03 files

FreeBSD/src 1a61a67sys/netinet tcp_timer.c

tcp: save progress timeout cause in connection end status

TCP stats are currently incremented for the persist and progress
timeout conditions, but only the persist cause was saved in the
connection end info status, which in turn is logged in the
blackbox "connection end" event.

Reviewed by:    tuexen
MFC after:      3 days
Sponsored by:   Netflix, Inc.
DeltaFile
+5-2sys/netinet/tcp_timer.c
+5-21 files

FreeBSD/src 04c2642sys/netinet/tcp_stacks rack.c tcp_rack.h

tcp rack: cleanup

The TCP_SAD_DETECTION code was removed. Remove the remaining
sysctl-variables and counters.

Reviewed by:    tuexen
MFC after:      3 days
Sponsored by:   Netflix, Inc.
DeltaFile
+4-197sys/netinet/tcp_stacks/rack.c
+0-1sys/netinet/tcp_stacks/tcp_rack.h
+4-1982 files

FreeBSD/src 2c02e6csys/dev/e1000 if_em.c e1000_osdep.h

igb(4): Fix out-of-bounds register access on VFs

Virtual Functions have access to a limited number of registers,
and their bus space size is lower. Use KASSERT to detect out-of-bounds
access and eliminate them to avoid kernel panics in production
environment.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Reviewed by:    jmg
Tested by:      mateusz.moga_intel.com
Approved by:    kbowling (mentor), erj (mentor)
Sponsored by:   Intel Corporation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D52976
DeltaFile
+47-36sys/dev/e1000/if_em.c
+33-13sys/dev/e1000/e1000_osdep.h
+80-492 files

FreeBSD/src 7b28d54sys/kern init_main.c

sys: Bump 32-bit kernel removal to 16.0

We are shipping at least one 32-bit kernel in FreeBSD 15.0 (i.e.,
armv7).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/kern/init_main.c
+1-11 files

FreeBSD/src 3cc7d67share/man/man5 style.mdoc.5

style.mdoc.5: Point readers to style(9) regarding copyright headers

While here, fix the ordering of the elements in the copyright header per
style(9) and remove the text of the license as we already have the SPDX
tag here.

MFC after:      3 days
DeltaFile
+6-24share/man/man5/style.mdoc.5
+6-241 files

FreeBSD/src cf59dabsys/x86/x86 local_apic.c

x86 LAPIC: force edge-triggered mode for !bootverbose as well

Submitted by:   Austin Shafer <ashafer at nvidia.com>
Reviewed by:    imp, jhb
Fixes:  5c039412a2823
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D53336
DeltaFile
+6-3sys/x86/x86/local_apic.c
+6-31 files

FreeBSD/src daa6660share/man/man9 deadfs.9 Makefile

deadfs.9: Document

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53334
DeltaFile
+36-0share/man/man9/deadfs.9
+1-0share/man/man9/Makefile
+37-02 files

FreeBSD/src 24adb13sys/kern kern_conf.c

sys: Bump GIANT device removal to 16.0

It did not happen prior to FreeBSD 15.0.

Reported by:    zlei
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/kern/kern_conf.c
+1-11 files

FreeBSD/src e4d6433share/man/man4 le.4, sys/dev/le lance.c

le(4): Update depreciation notice

This driver was in fact not removed prior to FreeBSD 15.0.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2share/man/man4/le.4
+1-1sys/dev/le/lance.c
+3-32 files

FreeBSD/src 739750asbin/fdisk fdisk.c

fdisk: Bump deprecated version in warning message as well

Fixes: f817f6e7f4a8 ("fdisk: Bump removal to FreeBSD 16.0")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sbin/fdisk/fdisk.c
+1-11 files

FreeBSD/src 5e85f38share/man/man4 rights.4, sys/kern vfs_syscalls.c

vfs_syscalls.c::flags_to_right(): O_DSYNC should be allowed for CAP_FSYNC

Noted by:       arrowd
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D53315
DeltaFile
+2-1share/man/man4/rights.4
+1-1sys/kern/vfs_syscalls.c
+3-22 files

FreeBSD/src 4dbe662sys/fs/devfs devfs_vnops.c devfs_int.h, sys/kern kern_conf.c

devfs: make destroy_dev() a release barrier for cdevpriv destructors runs

Ensure that all destructors for cdevpriv finished running before
destroy_dev() returns to the caller.  Otherwise, since
devfs_destroy_cdevpriv() removes the cdevpriv data from the list, drops
the cdevpriv_mtx, and then starts the destructor, it is possible for
destroy_dev() to return before destructor finished in other thread.

This should allow drivers to safely remove cdev instance data that might
be referenced by cdevpriv data.

Diagnosed by:   kevans
Reviewed by:    kevans, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D53303
DeltaFile
+14-3sys/fs/devfs/devfs_vnops.c
+3-0sys/kern/kern_conf.c
+1-0sys/fs/devfs/devfs_int.h
+18-33 files

FreeBSD/src 2387a51lib/libsys getrlimitusage.2

getrlimitusage.2: Update HISTORY section

Add 14.2, as this was cherry-picked prior to release.

Reported by:    Harald Eilertsen
Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53320
DeltaFile
+2-2lib/libsys/getrlimitusage.2
+2-21 files

FreeBSD/src f817f6esbin/fdisk fdisk.8

fdisk: Bump removal to FreeBSD 16.0

Removal did not happen prior to 15.0.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2sbin/fdisk/fdisk.8
+2-21 files