OpenBSD/src Nx5hEZkshare/man/man4 qwx.4, sys/dev/ic qwx.c qwxvar.h

   add PMF support to qwx

   This device needs to handle IGTK/BIP in software. It is possible to send
   protected multicast management frames with this device even while running
   in station mode. Which is neat for testing but not useful in general so
   the code path which makes the driver do this is unreachable without
   additional hacks in net80211 that I am not going to commit (sending
   protected deauth frames to the broadcast address).

   Tested:
   qwx QCNFA765: landry, Mark Patruck, kevlo, stsp
VersionDeltaFile
1.96+107-23sys/dev/ic/qwx.c
1.10+12-2share/man/man4/qwx.4
1.30+3-2sys/dev/pci/if_qwx_pci.c
1.32+3-1sys/dev/ic/qwxvar.h
+125-284 files

OpenBSD/src cvGAL4eshare/man/man4 iwx.4, sys/dev/pci if_iwx.c if_iwxreg.h

   Add PMF support to iwx. Also make MLD devices remove crypto keys from firmware.

   This driver was already offloading group key encryption to the device, and is
   now also offloading IGTK/BIP. We cannot send protected multicast management
   frames in station mode because the firmware won't allow it. But we do receive
   such frames just fine, which is all we really need in station mode.

   Thanks to Johannes Berg from Linux / Intel for hints about firmware behaviour
   regarding IGTK/BIP, and explaining how driver behaviour needs to be tested.

   Tested:
   iwx AX200: jmc, Mark Patruck, stsp
   iwx AX201: kirill
   iwx AX210: lraab, remi (interop issue with PSK-SHA256-only Arista AP)
   iwx AX211: sthen, kevlo, kn, jca
VersionDeltaFile
1.194+179-12sys/dev/pci/if_iwx.c
1.58+23-5sys/dev/pci/if_iwxreg.h
1.43+10-6sys/dev/pci/if_iwxvar.h
1.22+8-2share/man/man4/iwx.4
+220-254 files

OpenBSD/src WiBWBucshare/man/man4 iwm.4, sys/dev/pci if_iwm.c if_iwmvar.h

   implement PMF support for iwm

   For now, keep using software crypto for multicast data frames and multicast
   management frames even though iwm devices support offloading crypto for both.
   We should eventually add support for offloading this because in the present
   state iwm is not receiving protected multicast management frames (IGTK/BIP).
   In practice, this does not matter much because such frames are only used by
   802.11 features which our net80211 stack does not yet support anyway.
   Protected unicast management frames work as expected which is what matters
   the most, and is much better than having no PMF support at all.

   Tested:
   iwm 3168: kevlo
   iwm 7265: stsp
   iwm 9260: florian, landry
   iwm 9560: stsp
VersionDeltaFile
1.419+55-2sys/dev/pci/if_iwm.c
1.48+8-2share/man/man4/iwm.4
1.79+3-1sys/dev/pci/if_iwmvar.h
+66-53 files

OpenBSD/src WNZhniHsys/net80211 ieee80211_output.c

   check the correct flag before using PMF in ieee80211_mgmt_output()

   The capability flag only indicates whether our driver supports PMF, not
   whether our peer supports it. The flag in ni_flags indicates whether PMF
   is mutually supported by us and the peer, and should be used here.
VersionDeltaFile
1.143+2-2sys/net80211/ieee80211_output.c
+2-21 files

OpenBSD/src btZbsGCsys/net80211 ieee80211_ioctl.c

   clear MFPR flag in disable_rsn()
VersionDeltaFile
1.83+2-1sys/net80211/ieee80211_ioctl.c
+2-11 files

OpenBSD/src yPabLqVsys/net80211 ieee80211_pae_input.c ieee80211_node.c

   set/clear the IEEE80211_NODE_{TX,RX}MGMTPROT node flags in appropriate places

   ok kevlo@ sthen@
VersionDeltaFile
1.38+10-1sys/net80211/ieee80211_pae_input.c
1.205+6-1sys/net80211/ieee80211_node.c
1.111+3-1sys/net80211/ieee80211_proto.c
+19-33 files

OpenBSD/src 4ES1fUMsys/net80211 ieee80211_input.c

   Update the PMF Rx code path written by damien@ to handle hardware decryption.

   ok kevlo@ sthen@
VersionDeltaFile
1.257+23-10sys/net80211/ieee80211_input.c
+23-101 files

OpenBSD/src IXXxtehsys/net80211 ieee80211_crypto.c

   Fix KDF sha256 inputs to match the implementation in w1.fi hostap.

   Cross-checked with the 802.11 spec, which mentions the use of an extra
   zero byte in case of PFK and mentions nothing of the sort in case of KDF.

   I was led here by hints left behind by github user pigworlds in
   https://github.com/OpenIntelWireless/itlwm/pull/676

   ok kevlo@ sthen@
VersionDeltaFile
1.80+12-6sys/net80211/ieee80211_crypto.c
+12-61 files

OpenBSD/src klbZXdHregress/usr.sbin/bgpd/unittests rde_decide_test.c

   Update test, rde_generate_updates() has a new prototype.
VersionDeltaFile
1.18+2-2regress/usr.sbin/bgpd/unittests/rde_decide_test.c
+2-21 files

OpenBSD/src SvdmouEusr.sbin/vmd vm.c

   vmd(8): fix race in vm pause barrier usage.

   Moves the barrier initialization and destruction outside of the
   pause_vm function to eliminate a race between the vcpu thread waiting
   on the barrier and the event thread processing the pause request
   creating the barrier.

   ok mlarkin@
VersionDeltaFile
1.120+12-17usr.sbin/vmd/vm.c
+12-171 files

OpenBSD/src uWhj55Zusr.sbin/rpki-client cert.c crl.c

   rpki-client: convert cert.c and crl.c to use opaque ASN1_STRING

   Mostly mechanical. If the length is not zero, the data isn't NULL either
   because this is a deserialized extension, so drop a check.

   ok claudio
VersionDeltaFile
1.208+12-10usr.sbin/rpki-client/cert.c
1.52+3-3usr.sbin/rpki-client/crl.c
+15-132 files

OpenBSD/src AwYX2Rfsys/uvm uvm_fault.c

   Enable parallel fault handling on amd64 and arm64.

   ok claudio@, jca@, phessler@
VersionDeltaFile
1.172+2-2sys/uvm/uvm_fault.c
+2-21 files

OpenBSD/src JDZZgd8usr.sbin/bgpd rde_decide.c rde_update.c

   Rework the interface to rde_generate_updates() and up_genrate_XYZ()
   to pass the old prefix as just the path_id_tx identifier.

   Only up_generate_addpath_all() actually uses this information and there
   this is enough to find the affected prefix in the adj-rib-out.
   Also adjust the order of operation in up_generate_addpath_all() so the
   prefix is not first removed and readded for the case where a prefix
   is simply updated.

   Rework the code in prefix_evaluate_nexthop() to be much more like
   prefix_evaluate(), it should be possible to factor out common code at
   some point.  In peer_add() ensure that path_id_tx can't be 0. Since 0
   is now reserved for no-such-path.

   OK tb@
VersionDeltaFile
1.106+21-14usr.sbin/bgpd/rde_decide.c
1.184+14-10usr.sbin/bgpd/rde_update.c
1.57+9-8usr.sbin/bgpd/rde_peer.c
1.282+6-3usr.sbin/bgpd/rde_rib.c
1.325+3-3usr.sbin/bgpd/rde.h
1.670+2-2usr.sbin/bgpd/rde.c
+55-406 files

OpenBSD/src sYdhqm0sys/dev/pci/drm/i915 i915_pci.c

   enable GuC TLB invalidation on Meteor Lake, matches Linux default
VersionDeltaFile
1.24+0-5sys/dev/pci/drm/i915/i915_pci.c
+0-51 files

OpenBSD/src sRvCyUZsys/dev/pci/drm/i915/gt/uc intel_guc_submission.c

   unstub must_wait_woken() and guc_send_invalidate_tlb()
VersionDeltaFile
1.26+0-8sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
+0-81 files

OpenBSD/src tax0DFBsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux wait.h

   add woken_wake_function() for inteldrm GuC TLB invalidation
VersionDeltaFile
1.128+10-1sys/dev/pci/drm/drm_linux.c
1.15+4-1sys/dev/pci/drm/include/linux/wait.h
+14-22 files

OpenBSD/src QLP9uDiusr.bin/tmux style.c screen.c

   Change noattr to be an explicit attribute in the style so that it works
   correctly and does not delete attributes set in the style itself, GitHub
   issue 4713.
VersionDeltaFile
1.39+20-17usr.bin/tmux/style.c
1.91+6-2usr.bin/tmux/screen.c
1.12+4-3usr.bin/tmux/attributes.c
1.1278+2-1usr.bin/tmux/tmux.h
+32-234 files

OpenBSD/src BBfxJ02usr.bin/tmux server-client.c

   Add horizontal border case to server_client_check_mouse_in_pane to fix
   mouse resizing. GitHub issue 4720 from Michael Grant, reported by
   someone in GitHub issue 4715.
VersionDeltaFile
1.437+3-2usr.bin/tmux/server-client.c
+3-21 files

OpenBSD/src PhElk7nsys/net if_tpmr.c

   some tweaks around tpmr port refs.

   use the refcnt api instead of a u_int and atomic ops for counting
   refs. release the port ref given to the SMR pointers after
   smr_barrier, not before.
VersionDeltaFile
1.40+15-14sys/net/if_tpmr.c
+15-141 files

OpenBSD/src jxKijxGlib/libc/gen login_cap.c disklabel.c

   remove unused variables
VersionDeltaFile
1.48+1-2lib/libc/gen/login_cap.c
1.30+1-1lib/libc/gen/disklabel.c
+2-32 files

OpenBSD/src hhJ0dmRsbin/vnconfig vnconfig.c

   remove unused extern
VersionDeltaFile
1.15+1-2sbin/vnconfig/vnconfig.c
+1-21 files

OpenBSD/src xZHKu9Nsbin/pfctl pfctl_parser.c

   pfctl_parser.c, ifa_load() should distinguish between broadcast
   and PPP peer address when it populates interface table for rule
   parser.

   OK @claudio, OK @dlg
VersionDeltaFile
1.355+5-4sbin/pfctl/pfctl_parser.c
+5-41 files

OpenBSD/src mGvhCH6sbin/nfsd nfsd.c

   remove unused variable
VersionDeltaFile
1.47+2-2sbin/nfsd/nfsd.c
+2-21 files

OpenBSD/src rM4yMLvshare/man/man4 mpii.4

   mention support for SAS3216 SAS3224 SAS3316 SAS3324
VersionDeltaFile
1.18+6-2share/man/man4/mpii.4
+6-21 files

OpenBSD/src Tf9hGYwsys/dev/pci mpii.c

   match on SAS3216 SAS3224 SAS3316 SAS3324

   tested by Derek on bugs@, SAS9305-16i card with SAS3324
VersionDeltaFile
1.149+12-2sys/dev/pci/mpii.c
+12-21 files

OpenBSD/src aq38y0esys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2106+41-1sys/dev/pci/pcidevs_data.h
1.2111+11-1sys/dev/pci/pcidevs.h
+52-22 files

OpenBSD/src 7JKGzWJsys/dev/pci pcidevs

   add device ids for LSI SAS3216 SAS3224 SAS3316 SAS3324
VersionDeltaFile
1.2118+11-1sys/dev/pci/pcidevs
+11-11 files

OpenBSD/src 7KZBTCmsbin/ifconfig brconfig.c

   don't complain about a driver not supporting pvlans.

   found by denis@ with vxlan(4).

   ok denis@
VersionDeltaFile
1.45+8-4sbin/ifconfig/brconfig.c
+8-41 files

OpenBSD/src wBIMlWCetc/rc.d spamlogd unbound

   Reset getopts to decouple rcctl and daemon_flags;  from obsd at mulh.net;  OK sthen

   ksh(1)'s OPTIND is global and only saved/restored for `function' style functions.

   That means passing, e.g. -d to rcctl(8) would leave OPTIND=2 for rc_pre() in
   rc.subr(8) scripts using getopts, thus starting (continuing, really) parsing
   options at the second argument.
VersionDeltaFile
1.8+2-2etc/rc.d/spamlogd
1.11+2-2etc/rc.d/unbound
+4-42 files

OpenBSD/src 8RW85HQsys/net if_mpe.c

   fix some bpf code.

   jsg@ pointed out that i was unconditionally calling bpf_mtap when
   the convention is to test if the bpf if pointer is set before calling
   bpf_mdap.

   while here drop incoming packets if the bpf filter tells us to to
   be consistent with the if_input handlers.

   original nit pointed out by jsg@
VersionDeltaFile
1.109+5-3sys/net/if_mpe.c
+5-31 files