FreeBSD/src d879f1csbin/ipfw Makefile, sbin/ipfw/tests ipfw_test.sh Makefile

ipfw: Add tests for the NPTv6 rule parser
DeltaFile
+107-0sbin/ipfw/tests/ipfw_test.sh
+3-0sbin/ipfw/Makefile
+1-0sbin/ipfw/tests/Makefile
+111-03 files

FreeBSD/src 64bc9acsbin/ipfw nptv6.c

ipfw: Fix segfault in NPTv6 rule parser

If the user specified a prefix length with either the internal or
external prefix, we'd jump to check_prefix where we'd dereference p
which was most likely uninitialized.

Instead, store the various prefix lengths separately and check them
all after the loop.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D50597
DeltaFile
+26-23sbin/ipfw/nptv6.c
+26-231 files

FreeBSD/src fca4387sys/compat/linuxkpi/common/include/linux netdevice.h, sys/compat/linuxkpi/common/include/net mac80211.h

LinuxKPI: 802.11: rework multicat filter updates

Multicast filter updates are done at different times and either
triggered by net80211/if code or within LinuxKPI.

Keep the setting and address list and update that (only) if triggered
from net80211.  Otherwise we will (depending on state) just update
additional flags.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+80-44sys/compat/linuxkpi/common/src/linux_80211.c
+11-1sys/compat/linuxkpi/common/src/linux_80211.h
+8-1sys/compat/linuxkpi/common/include/linux/netdevice.h
+3-0sys/compat/linuxkpi/common/include/net/mac80211.h
+102-464 files

FreeBSD/src bdfe17fsys/compat/linuxkpi/common/src linux_80211.c linux_80211.h

LinuxKPI: 802.11: dtim_period/beacon count

Hook into net80211's (*iv_recv_mgmt)() callback so we can track
beacons.  This is mostly for us to know if we have seen any after
assoc or for further debugging when we run into beacon/connection loss
based on a firmware/driver event.

Also set/reset dtim_period depending on state and beacon/probe response
so that the value available to the driver reflects reality.

Sponsonred by:  The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+64-4sys/compat/linuxkpi/common/src/linux_80211.c
+6-0sys/compat/linuxkpi/common/src/linux_80211.h
+70-42 files

FreeBSD/src aa29897sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: stop using hw_value on a channel

During initial LinuxKPI 802.11 bringup looking at the usage in one
driver I started using hw_value as an equivalent for ic_ieee.
That is not correct.   Remove all usage but logging of hw_value
from LinuxKPI 802.11 code and leave the field to the drivers.

We have to go through some hoops to get the needed ic_ieee value
but so be it.  At some point we may want to clear this up in
net80211 (especially given we'll have to handle more per-band data
in the future).

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+7-7sys/compat/linuxkpi/common/src/linux_80211.c
+7-71 files

FreeBSD/src 49ae0c2sys/dev/hpt27xx hptintf.h

hpt27xx(4): Fix a couple of typos in source code comments

- s/tranform/transform/

MFC after:      3 days
DeltaFile
+3-3sys/dev/hpt27xx/hptintf.h
+3-31 files

FreeBSD/src 62db40bsys/dev/ice ice_fw_logging.c

ice(4): Fix a typo in a source code comment

- s/firwmare/firmware/

MFC after:      3 days
DeltaFile
+1-1sys/dev/ice/ice_fw_logging.c
+1-11 files

FreeBSD/src a848c85sys/dev/bce if_bce.c

bce(4): Fix a typo in a source code comment

- s/firwmare/firmware/

MFC after:      3 days
DeltaFile
+1-1sys/dev/bce/if_bce.c
+1-11 files

FreeBSD/src 4f768b8sys/dev/mwl if_mwl.c

mwl(4): Fix a typo in a source code comment

- s/firwmare/firmware/

MFC after:      3 days
DeltaFile
+1-1sys/dev/mwl/if_mwl.c
+1-11 files

FreeBSD/src 444bb6asys/dev/usb/net if_umb.c

if_umb: Fix a typo in a source code comment

- s/tranfers/transfers/

MFC after:      3 days
DeltaFile
+1-1sys/dev/usb/net/if_umb.c
+1-11 files

FreeBSD/src ac40052sys/fs/msdosfs bootsect.h

msdofs(5): Fix a typo in a source code comment

- s/fist/first/

MFC after:      3 days
DeltaFile
+1-1sys/fs/msdosfs/bootsect.h
+1-11 files

FreeBSD/src 56e00acsys/contrib/openzfs/module/os/freebsd/zfs zfs_vnops_os.c

zfs readdir: if there were no dirents to copy out, return EINVAL same as UFS

(cherry picked from commit 9a3edc8d5dbcb896179cfa7867f961184e146a09)
DeltaFile
+3-1sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c
+3-11 files

FreeBSD/src d5cd41fsys/contrib/openzfs/module/os/freebsd/zfs zfs_vnops_os.c

zfs readdir: set *eofp to 1 on eof

(cherry picked from commit adba3e087173b8ca6c5e9db7241812d4ac752608)
DeltaFile
+1-1sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c
+1-11 files

FreeBSD/src bbb515dsys/contrib/openzfs/module/os/freebsd/zfs zfs_ctldir.c

zfsctl_root_readdir(): properly set eof

PR:     288889

(cherry picked from commit 1031208ebceb8554a0fe9c6d9c4b98a6631d4718)
DeltaFile
+2-0sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c
+2-01 files

FreeBSD/src 828b4f1sys/contrib/openzfs/module/os/freebsd/zfs zfs_ctldir.c

zfsctl_root_readdir: if there were no dirents to copy out, return EINVAL

(cherry picked from commit cead6157cc1b748df29b32072f492d4f6afae65a)
DeltaFile
+26-14sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c
+26-141 files

FreeBSD/src 88ed58dsys/netinet/cc cc.c

mod_cc(4): Fix a typo in a source code comment

- s/assigments/assignments/

MFC after:      3 days
DeltaFile
+1-1sys/netinet/cc/cc.c
+1-11 files

FreeBSD/src cc5623dsys/ufs/ffs ffs_rawread.c

ffs(3): Fix a typo in a source code comment

- s/fist/first/

MFC after:      3 days
DeltaFile
+1-1sys/ufs/ffs/ffs_rawread.c
+1-11 files

FreeBSD/src aa05ba7sys/dev/nvmf nvmf_tcp.c

nvmf: Fix a typo in a source code comment

- s/tranfers/transfers/

MFC after:      3 days
DeltaFile
+1-1sys/dev/nvmf/nvmf_tcp.c
+1-11 files

FreeBSD/src 90d7186sys/cam/ata ata_all.c, sys/cam/scsi scsi_da.c

cam(3): Fix a common typo in source code comments

- s/tranferred/transferred/

MFC after:      3 days
DeltaFile
+2-2sys/cam/ata/ata_all.c
+2-2sys/cam/scsi/scsi_da.c
+4-42 files

FreeBSD/src e041280lib/libnvmf nvmf_tcp.c

libnvmf: Fix a typo in a source code comment

- s/tranfers/transfers/

MFC after:      3 days
DeltaFile
+1-1lib/libnvmf/nvmf_tcp.c
+1-11 files

FreeBSD/src 6c45a5dsys/netinet tcp_input.c

tcp: improve inflating cwnd in limited transmit

Don't subtract tcp_sack_adjust() sometimes twice, just once in all
cases.

Reviewed by:            rscheff
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D52140
DeltaFile
+3-5sys/netinet/tcp_input.c
+3-51 files

FreeBSD/src 5e2fc2csys/contrib/openzfs/.github/workflows/scripts qemu-2-start.sh qemu-5-setup.sh, sys/contrib/openzfs/cmd/zdb zdb.c

zfs: merge openzfs/zfs at 00dfa094a

OpenZFS 2.4.0 rc1

Notable upstream pull request merges:
 #17643 94413bc75 zdb: Filter log spacemaps by vdev
 #17655 28ff57505 FreeBSD: satisfy VFS requirements for readdir()
 #17658 -multiple dnode: fix how we track and check dirtyness

As OpenZFS 2.4 got branched, this is the last merge to main
until stable/15 is branched. stable/15 will receive updates
from the vendor/openzfs/zfs-2.4-release branch.

Obtained from:  OpenZFS
OpenZFS commit: 00dfa094ac35e240bed33f8bcfea68d805eab6ae
OpenZFS tag:    zfs-2.4.0-rc1
DeltaFile
+32-71sys/contrib/openzfs/module/zfs/dnode.c
+22-15sys/contrib/openzfs/cmd/zdb/zdb.c
+0-21sys/contrib/openzfs/module/zfs/dbuf.c
+13-1sys/contrib/openzfs/.github/workflows/scripts/qemu-2-start.sh
+1-13sys/contrib/openzfs/include/sys/dnode.h
+12-2sys/contrib/openzfs/.github/workflows/scripts/qemu-5-setup.sh
+80-1238 files not shown
+100-13914 files

FreeBSD/src 53b0216usr.sbin/bsdinstall/scripts bootconfig

bsdinstall: Improve message for existing FreeBSD EFI entry

When reinstalling FreeBSD bsdinstall reported "There are multiple
FreeBSD EFI boot entries."  This sounds like something went wrong in the
past.  Clarify that there may be only one existing entry, which is not
surprising for a reinstall.

Reviewed by:    manu, ziaee
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51527

(cherry picked from commit ebc6ff8db17683b566d49fe89a43a668d3d67915)
DeltaFile
+1-1usr.sbin/bsdinstall/scripts/bootconfig
+1-11 files

FreeBSD/src 3eeeaf9tests/sys/netpfil/pf mbuf.sh

pf tests: Improve assertion messaging of mbuf tests

Reviewed by:    kp
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D51716
DeltaFile
+13-13tests/sys/netpfil/pf/mbuf.sh
+13-131 files

FreeBSD/src 5bf3c55sys/dev/iwx if_iwx.c

iwx: enable seqno offload

Enable sequence number offload.

This should both enable the sequence number offloading and disable
the net80211 TX lock from being acquired/released/checked.

Reviewed by:    bz, thj
Differential Revision:  https://reviews.freebsd.org/D50694
DeltaFile
+7-0sys/dev/iwx/if_iwx.c
+7-01 files

FreeBSD/src eabcd17sys/net80211 ieee80211_freebsd.h ieee80211_output.c

net80211: add support for sequence number offloading

Add support for sequence number offloading -

* Check IEEE80211_CONF_SEQNO_OFFLOAD() before doing TX lock
  manipulation;
* Don't call ieee80211_output_seqno_assign() if
  IEEE80211_CONF_SEQNO_OFFLOAD() is true.

TODO:

* this doesn't yet do beacon sequence number allocation offloading;
  I'll tackle that later.

Differential Revision:  https://reviews.freebsd.org/D50692
Reviewed by:    bz
DeltaFile
+16-6sys/net80211/ieee80211_freebsd.h
+8-3sys/net80211/ieee80211_output.c
+24-92 files

FreeBSD/src 2b5de43sys/netinet tcp_input.c

tcp: improve the condition for detecting dup ACKs

Take the condition of RFC 6675 into account.
While there, remove stale comments.

PR:                     282605
Reviewed by:            cc (earlier version)
MFC after:              1 week
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D51426
DeltaFile
+238-265sys/netinet/tcp_input.c
+238-2651 files

FreeBSD/src 2b35b71sys/amd64/vmm/intel vmx_support.S

amd64 vmx: micro-optimize vmlaunch failure path

Eliminate two unneeded jumps.  One is the jmp to the next instruction,
where there is no requrement that vmlaunch is followed by jmp.  Another
one conditionally sets %r11d value, and can be replaced by cmovcc.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D52136
DeltaFile
+3-5sys/amd64/vmm/intel/vmx_support.S
+3-51 files

FreeBSD/src a086478sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: factor out sinfo printing

Factor out the sinfo printing into an sbuf from the sysctl handler.
That allows us to use lkpi_80211_dump_lvif_stas() for printing other
debug information as well.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+35-27sys/compat/linuxkpi/common/src/linux_80211.c
+35-271 files

FreeBSD/src b1e67b1sys/compat/linuxkpi/common/include/net mac80211.h

LinuxKPI: 802.11: improve ieee80211_request_smps()

Adjust logging from TODO() to IMPROVE() now that we can use fmt strings
there too.  Make sure we are not getting unsuported values to print.

Also for non-station mode simply return.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+7-4sys/compat/linuxkpi/common/include/net/mac80211.h
+7-41 files