OpenBSD/src HAjkO27sys/arch/octeon/dev if_cnmac.c cn30xxpip.c

   sys/cnmac: add RX queues

   Add RX queues to cnmac, backed by shared POW groups. Use PIP tags for RX
   group selection and pass the tag up as M_FLOWID.

   OK: visa@
VersionDeltaFile
1.90+102-29sys/arch/octeon/dev/if_cnmac.c
1.12+20-10sys/arch/octeon/dev/cn30xxpip.c
1.21+1-3sys/arch/octeon/dev/if_cnmacvar.h
1.7+3-1sys/arch/octeon/dev/cn30xxpipvar.h
+126-434 files

OpenBSD/src aYn3fnWsys/arch/octeon/dev cn30xxgmx.c if_cnmac.c

   sys/cnmac: read MAC address from device tree

   Read local-mac-address from the matching ethernet port node in device
   tree; fall back to the old board address allocation when it is absent.

   As suggested by visa@, this changes HW address assignment on the
   EdgeRouter Pro, and probably on the ER-8, by swapping ports as follows:

   cnmac0 <-> cnmac4
   cnmac1 <-> cnmac5
   cnmac2 <-> cnmac6
   cnmac3 <-> cnmac7

   Affected devices uses the same MAC addresses as the original firmware.

   OK: visa@
VersionDeltaFile
1.57+21-1sys/arch/octeon/dev/cn30xxgmx.c
1.89+17-2sys/arch/octeon/dev/if_cnmac.c
1.16+2-1sys/arch/octeon/dev/cn30xxgmxvar.h
1.6+2-1sys/arch/octeon/dev/iobusvar.h
1.29+2-1sys/arch/octeon/dev/octeon_iobus.c
1.4+2-1sys/arch/octeon/dev/octpip.c
+46-76 files

OpenBSD/src zWvhky1usr.sbin/bgpd rde.c

   Rename out_rules to simply rules. In the near future this list will be
   used for both 'from' and 'to' filter rules.
   OK tb@
VersionDeltaFile
1.694+16-16usr.sbin/bgpd/rde.c
+16-161 files

OpenBSD/src 3rGy4mdusr.sbin/bgpd rde.c

   Shuffle the softreconfig functions into an order that makes more sense.

   OK tb@
VersionDeltaFile
1.693+77-77usr.sbin/bgpd/rde.c
+77-771 files

OpenBSD/src uCy9ctWusr.sbin/bgpd rde_filter.c bgpd.h

   Change to enum filter_action and enum direction since the plural form
   does not work well with these enums.

   OK denis@ tb@
VersionDeltaFile
1.148+6-6usr.sbin/bgpd/rde_filter.c
1.539+5-5usr.sbin/bgpd/bgpd.h
1.692+4-4usr.sbin/bgpd/rde.c
1.345+3-3usr.sbin/bgpd/rde.h
1.530+2-2usr.sbin/bgpd/session.c
1.195+2-2usr.sbin/bgpd/session.h
+22-226 files

OpenBSD/src TDeEt7musr.sbin/vmd config.c

   vmd(8): Avoid reuse of dead filedescriptor

   When the vmd process sends a kernfd to the vmm process, that
   descriptor will be closed in msgbuf_write() after a successful
   sendmsg().  However, that descriptor number is still stored in
   vm->vm_kernel.

   When termination of one VM is interleaved with lauch of another VM,
   that number might be reassigned to a _new_ kernfd of the launching
   VM.  Now we have a race:

   - the vmd process queues an imsg with that descriptor in config_setvm()
     (for the launching VM)
   - the vmd process calls in vm_stop() close() on that descriptor
     (for the terminating VM)
   - when the vmd process calls proc_dispatch() imsgbuf_send() for
     imsg queued in config_setvm(), sendmsg() will return EBADF (the
     descriptor in the control message is invalid)


    [3 lines not shown]
VersionDeltaFile
1.82+9-4usr.sbin/vmd/config.c
+9-41 files

OpenBSD/src JMsGsUrusr.bin/tmux cmd-parse.y

   Add a limit on maximum length of environment variable assignment in
   configuration files.
VersionDeltaFile
1.58+11-1usr.bin/tmux/cmd-parse.y
+11-11 files

OpenBSD/src Vx1oZSpregress/usr.bin/ssh keyscan.sh

   Use supported hostkeyalgorithms specifically in sshd_config instead of
   supported key types, which is almost but not completely correct.
VersionDeltaFile
1.14+4-2regress/usr.bin/ssh/keyscan.sh
+4-21 files

OpenBSD/src eaukg5Isys/dev/ic qwz.c qwzreg.h, sys/dev/pci if_qwz_pci.c

   Bring the qwz driver up to WPA2 association on the Qualcomm WCN7850
   chip.

   Major changes:

     1. Fix the RX path.
     2. Fix the TX path.
     3. Fix MSI interrupt routing.
     4. Make the WPA2 4-way handshake complete.
     5. Add bus_dmamap_sync() barriers on RX and TX.
     6. Update register/descriptor defines from ath11k to ath12k WiFi7.

   Known limitations:

     - DHCP does not yet complete on most setups: TX of DISCOVER works
       (the DHCP server sees it), but the OFFER does not reach the host.
       Likely an RX-path or post-handshake GTK state issue.  Reported by
       kettenis@ with an athn(4) AP on a Vivobook.
     - Some hardware (e.g. Honor laptop) hits a firmware page fault

    [21 lines not shown]
VersionDeltaFile
1.26+377-146sys/dev/ic/qwz.c
1.13+73-57sys/dev/ic/qwzreg.h
1.14+6-2sys/dev/ic/qwzvar.h
1.8+3-2sys/dev/pci/if_qwz_pci.c
+459-2074 files

OpenBSD/src ML0EyFXlib/libcrypto/x509 x509_addr.c

   make_addressRange: unused bits in max must be zero

   X509v3_addr_add_range() requires that min and max of an address range
   have network encoding. In the RFC 3779 encoding of an actual address
   range (as opposed to a prefix) as a SEQUENCE OF two ASN.1 BIT STRINGs,
   the trailing one bits of the maximum become unused bits and therefore
   must be DER encoded as zeroes. The DER encoder will clear them via i2d
   but these trailing ones are annoying. Make a copy in which the unused
   bits are cleared.

   ok kenjiro
VersionDeltaFile
1.95+23-6lib/libcrypto/x509/x509_addr.c
+23-61 files

OpenBSD/src mAH2NPrsys/dev/ic com.c

   Attempt to drain the transmit FIFO before resetting or disabling it such
   that output that is currently in the FIFO makes it out.  We already do
   this when attaching as a console by using a fixed delay, but not in
   compwroff() which runs when userland closes the associated tty.  Instead
   of using a fixed delay, look at the LSR_TSRE bit which should get set
   if the FIFO (or the itransmit shift register if the FIFO is disabled) is
   empty.  Use a fixed timeout such that on hardware with a non-functional
   LSR_TSRE bit the loops still terminate.

   This should fix issues where we lose serial output when userland closes
   a tty or when com(4) attaches to the port that is used as the console.

   ok deraadt@
VersionDeltaFile
1.183+21-2sys/dev/ic/com.c
+21-21 files

OpenBSD/src MMCyUYWlib/libcrypto/pkcs7 pk7_doit.c

   Fix PKCS7_set_{un,}signed_attributes()

   In both these functions, if the X509_ATTRIBUTE_dup() fails, the
   remainder of the sk stack is shared with p7si->{un,}auth_attr and
   the caller will likely end up freeing it twice.

   Fix this by writing another sk_deep_copy() patterned after the existing
   ones in x509_lu.c and x509_vpm.c. PKCS7_set_{un,}signed_attributes()
   become trivial wrappers of that.

   ok jsing kenjiro
VersionDeltaFile
1.68+35-28lib/libcrypto/pkcs7/pk7_doit.c
+35-281 files

OpenBSD/src PTjUaIDusr.bin/vi/vi v_paragraph.c v_sentence.c

   Allow '!}' and '!)' at EOF, even though there is no forward movement.

   The updated behavior differs from traditional vi but matches vim.
   It is already possible to run bang commands at EOF in conjunction
   with some other forward movement commands such as 'l' and 'w'.

   From Walter Alejandro Iglesias
VersionDeltaFile
1.11+3-2usr.bin/vi/vi/v_paragraph.c
1.11+3-2usr.bin/vi/vi/v_sentence.c
+6-42 files

OpenBSD/src T5WTyxFusr.bin/vi/vi v_sentence.c

   Fix special case of ')' when the cursor is on white-space.

   The forward sentence code has a special case to support moving to
   the start of the next sentence when it is in the middle of a empty
   line or whitespace between sentences.  However, the logic was
   incorrect and applied when the curson was on _any_ white-space.
   This change adds logic to look back and detect whether the cursor
   is actually in between two sentences.

   Based on a diff from Walter Alejandro.
VersionDeltaFile
1.10+19-10usr.bin/vi/vi/v_sentence.c
+19-101 files

OpenBSD/src vXGIzf3usr.bin/vi/vi v_sentence.c

   Prevent '(' from moving the cursor forward.

   Fixes an issue where '(' moved forward the start of the next (not
   previous) sentence when used within whitespace at the start if a line.

   From Debian bug 193498 (Tommy Pettersson) via nvi2.
VersionDeltaFile
1.9+2-2usr.bin/vi/vi/v_sentence.c
+2-21 files

OpenBSD/src UN99yqhusr.bin/vi/common delete.c

   Fix a misapplied patch in rev 1.12, the goto belongs outside the len check.
VersionDeltaFile
1.14+2-2usr.bin/vi/common/delete.c
+2-21 files

OpenBSD/src rV5FFRRregress/lib/libssl/dtls dtls_wire_test.c Makefile

   Add DTLS wire tests.

   Add tests that ensure the wire bytes for DTLS are what we expect for both
   CCS and fragmented handshake messages.
VersionDeltaFile
1.1+376-0regress/lib/libssl/dtls/dtls_wire_test.c
1.5+10-4regress/lib/libssl/dtls/Makefile
+386-42 files

OpenBSD/src JiEhcIysys/arch/sparc64/sparc64 trap.c

   Do not clear the dirty upper and lower bits when enabling the FPU in fprs

   When handling a FPU disabled trap and the FPU context is still pointing to
   curproc then all that needs to be done is enable the FPU but on sparc64 this
   needs to be done in two places. In pstate and %fprs.
   Writing FPRS_FEF into %fprs clears the DU and DL bits which marks the FPU
   state as clean (but it may not be). If the proc only reads the FPU state
   and later a lazy FPU switch is forced the FPU context is not correctly saved.
   Instead read %fprs and or FPRS_FEF into it, keeping the DU and DL bits intact.
   See also rev 1.68 for why %fprs needs to be fumbled with.

   This fixes various issues seen during ports bulk builds. Like perl tripping
   over "use 5.12.0;" with a -NaN is not a version error, various awk issues
   and even cmake failures via 'std::bad_array_new_length'.

   OK kettenis@
VersionDeltaFile
1.131+2-2sys/arch/sparc64/sparc64/trap.c
+2-21 files

OpenBSD/src iZJ4aRksys/dev/fdt dwpcie.c

   If the PCIe link is down, provide access to config space for bus 0, but
   return 0xffffffff (and ignore writes) for other busses.  This gets rid of
   the "can't initialize hardware" messages that confuse some users and
   better matches what happens on other platforms with PCIe when a slot is
   empty.

   ok jca@
VersionDeltaFile
1.61+26-14sys/dev/fdt/dwpcie.c
+26-141 files

OpenBSD/src ybMDMkylib/libcrypto/pkcs7 pk7_doit.c

   pkcs7: drop silly use of i in PKCS7_dataVerify()

   ok jsing kenjiro
VersionDeltaFile
1.67+3-4lib/libcrypto/pkcs7/pk7_doit.c
+3-41 files

OpenBSD/src GJIsxtrlib/libcrypto/pkcs7 pk7_doit.c

   pkcs7: don't use i, j for NIDs in PKCS7_dataFinal()

   Use nid for NIDs and use i only for for loops.

   ok jsing kenjiro
VersionDeltaFile
1.66+7-9lib/libcrypto/pkcs7/pk7_doit.c
+7-91 files

OpenBSD/src Yg50sfElib/libcrypto/pkcs7 pk7_doit.c

   pkcs7: don't use i and j for NIDs in PKCS7_dataDecode()

   There's no need to assign to i before the switch and j is a terrible
   name for a NID. Inline the latter and switch directly over the return
   value of OBJ_obj2nid().

   ok jsing kenjiro
VersionDeltaFile
1.65+4-6lib/libcrypto/pkcs7/pk7_doit.c
+4-61 files

OpenBSD/src 8SyNHPalib/libcrypto/pkcs7 pk7_doit.c

   pkcs7: avoid assignment to i in PKCS7_dataInit()

   We can switch over the return value of OBJ_obj2nid() rather than using i
   for an indirection.

   ok jsing kenjiro
VersionDeltaFile
1.64+2-3lib/libcrypto/pkcs7/pk7_doit.c
+2-31 files

OpenBSD/src aAryKO9lib/libcrypto/pkcs7 pk7_doit.c

   pkcs7: Simplify PKCS7_type_is_other()

   Remove unnecessary isOther and nid variables and use direct returns.
   The function should probably be removed...

   ok jsing kenjiro
VersionDeltaFile
1.63+4-12lib/libcrypto/pkcs7/pk7_doit.c
+4-121 files

OpenBSD/src 5iU89Kelib/libcrypto/sha sha256.c

   Add FIPS 180-4 references for SHA-256 constants.
VersionDeltaFile
1.34+6-1lib/libcrypto/sha/sha256.c
+6-11 files

OpenBSD/ports WVqMoL5graphics/ImageMagick Makefile

   remove BROKEN marker to try building on arm(v7).  the platform has changed
   a lot since 2019

   OK sthen@ naddy@
VersionDeltaFile
1.229+0-2graphics/ImageMagick/Makefile
+0-21 files

OpenBSD/ports 5tKH9Xtsecurity/nss distinfo Makefile

   security/nss: bugfix update to 3.123.1

   fixes #2033783: invalid DTLS CertificateVerify signature breaks Firefox WebRTC to pion and webrtc-rs servers
   see https://hg-edge.mozilla.org/projects/nss/raw-file/tip/doc/rst/releases/nss_3_123_1.rst
   ok naddy@
VersionDeltaFile
1.172+2-2security/nss/distinfo
1.213+1-1security/nss/Makefile
+3-32 files

OpenBSD/ports dg1OBQ7net/openvpn distinfo Makefile

   SECURITY update to openvpn-2.7.2

   fix race condition in TLS handshake that could lead to leaking of packet
   data from a previous handshake under specific circumstances
   (CVE-2026-40215)

   fix server ASSERT() on receiving a suitably malformed packet with
   a valid tls-crypt-v2 key (CVE-2026-35058)

   Other changes: https://github.com/OpenVPN/openvpn/blob/v2.7.2/Changes.rst

   ok naddy@
VersionDeltaFile
1.74+2-2net/openvpn/distinfo
1.146+1-1net/openvpn/Makefile
+3-32 files

OpenBSD/src 3rwKWY3lib/libcrypto/pkcs7 pk7_doit.c

   Simplify PKCS7_get_issuer_and_serial()

   The i variable is unused. Likewise for the first assignment to ri.
   Instead of an incomplete check that idx is in range, which still
   results in a NULL deref if idx < 0, check if ri is not NULL before
   accessing, as sk_value() checks the index correctly.

   ok jsing kenjiro
VersionDeltaFile
1.62+6-9lib/libcrypto/pkcs7/pk7_doit.c
+6-91 files

OpenBSD/src dsonjGMsys/net pipex_local.h trunklacp.c

   use __kprintf__ not __printf__ for format attributes
   avoids format warnings with clang 21 and later
   ok robert@
VersionDeltaFile
1.55+2-2sys/net/pipex_local.h
1.34+2-2sys/net/trunklacp.c
+4-42 files