OpenBSD/src mWwJJqtsys/dev/dt dt_dev.c

   No need to initialize fields to 0, fdalloc() already does that.

   ok sashan@
VersionDeltaFile
1.47+1-2sys/dev/dt/dt_dev.c
+1-21 files

OpenBSD/src TsyIZXLsys/uvm uvm_pdaemon.c

   Prevent lock recursion in new error code paths.
VersionDeltaFile
1.141+5-1sys/uvm/uvm_pdaemon.c
+5-11 files

OpenBSD/src ACX7PGcsys/uvm uvm_page.c uvm_fault.c

   Push `pageqlock' dances inside uvm_page{de,}activate() & uvm_pagewire().

   Tested during multiple bulks on amd64, i386, arm64 and sparc64 by jca@,
   phessler@ and sthen@.
VersionDeltaFile
1.184+44-37sys/uvm/uvm_page.c
1.173+3-25sys/uvm/uvm_fault.c
1.140+12-12sys/uvm/uvm_pdaemon.c
1.149+7-7sys/uvm/uvm_vnode.c
1.121+1-11sys/uvm/uvm_aobj.c
1.349+1-9sys/uvm/uvm_map.c
+68-1013 files not shown
+71-1129 files

OpenBSD/src YEWZby5sys/net pf.c

   use an smr crit section instead of real iface refs in the uRPF check

   the uRPF tries to use interface indexes, but if the index doesnt
   match it'll resolve to a real interface and do an IFT_CARP and
   carpdev index check.

   it's easy to do this lookup from an smr crit section and avoid the
   refcnt ops.
VersionDeltaFile
1.1223+5-4sys/net/pf.c
+5-41 files

OpenBSD/src B1ESpQWsys/net pf.c

   use an smr crit section instead of real interface refs in pf_match_rcvif

   this is only used during ruleset evaluation, so it is less hot than
   the carpdev resolution done in pf_test, but it's an easy change to
   avoid unecessary atomic ops.
VersionDeltaFile
1.1222+13-17sys/net/pf.c
+13-171 files

OpenBSD/src 3zMPnhQsys/net pf.c

   use an smr crit section to get the parent of carp interfaces.

   pf maps packets "received" on carp interfaces back to the actual
   interface it was received on and applies policy to that parent.
   eg, if you have carp0 on top of em0, packets destined to the carp0
   mac address, the network stack will think that the packets were
   received by carp0. pf maps carp0 back to em0 and applies policy on
   em0 though.

   previously pf used if_get/if_put to do this lookup of the carp
   parent, which is a couple of atomic ops on what can be a contended
   cacheline for every packet destined for a carp interface. now the
   lookup is done in an SMR critical section, against what will
   hopefully be a shared cacheline.
VersionDeltaFile
1.1221+11-10sys/net/pf.c
+11-101 files

OpenBSD/src RwDJ90vsys/dev/pci nhi.c

   Use correct descriptor index to dequeue rx descriptors.
   Spotted by chris@
VersionDeltaFile
1.2+3-3sys/dev/pci/nhi.c
+3-31 files

OpenBSD/src J88D7Vbregress/lib/libfuse Makefile fuse-null-check.c

   Use new FUSE header files and location.
VersionDeltaFile
1.5+4-2regress/lib/libfuse/Makefile
1.3+2-1regress/lib/libfuse/fuse-null-check.c
+6-32 files

OpenBSD/src Z0uH174lib/libc/gen disklabel.c

   Set d_npartitions to the correct value in getdiskbyname().

   ok deraadt@
VersionDeltaFile
1.31+1-1lib/libc/gen/disklabel.c
+1-11 files

OpenBSD/src b4IH1uzusr.sbin/tcpdump print-802_11.c

   make tcpdump show the 802.11 QoS TID with -v

   ok dlg, and ok jca who also pointed out a & vs. && operator mistake in my diff
VersionDeltaFile
1.45+7-1usr.sbin/tcpdump/print-802_11.c
+7-11 files

OpenBSD/src fCmDo98usr.bin/tmux tty-keys.c

   Fix key code for M-BSpace, GitHub issue 4717.
VersionDeltaFile
1.197+11-5usr.bin/tmux/tty-keys.c
+11-51 files

OpenBSD/src rPW6nrrdistrib/miniroot install.sub

   Correct backwards logic for RAID error

   OK kn@
VersionDeltaFile
1.1283+2-2distrib/miniroot/install.sub
+2-21 files

OpenBSD/src 9FFrklVsys/net if.c

   dont do work in if_output_local that ifq_enqueue_qlim does for us.
VersionDeltaFile
1.755+1-3sys/net/if.c
+1-31 files

OpenBSD/src QA56Ixisys/net if_vlan.c

   replace if_get with if_get_smr in the vlan transmit path.

   this mitigates against hammering the parent interface refcnt when
   transmitting packets.

   this means we call if_enqueue against the parent interface from an
   smr critical section rather than calling it while holding a "real"
   ref, but aggr has been calling if_enqueue from an smr critical
   section for years without issue.
VersionDeltaFile
1.223+7-6sys/net/if_vlan.c
+7-61 files

OpenBSD/src z5WL0DCsys/net if.c if.h

   add if_get_smr()

   if_get_smr() is like if_get() in that you give it an interface index
   and it gives you an ifnet pointer (or NULL), except it doesnt bump
   the reference count on the interface. to compensate, you can only
   use it inside an SMR critical section.

   the good news is that the ifidxmap map and ifnet lookups are already
   done using SMR, so this is an extremely trivial change.

   the benefit of this is that you can avoid the atomic operations on
   a shared variable (the ifnet refcnt) when using an interface in an
   smr critical section.
VersionDeltaFile
1.754+30-10sys/net/if.c
1.223+2-1sys/net/if.h
+32-112 files

OpenBSD/src fCgMOpuusr.bin/tmux screen-redraw.c

   Use correct style for bottom line when pane status line is on, GitHub
   issue 4732.
VersionDeltaFile
1.108+5-4usr.bin/tmux/screen-redraw.c
+5-41 files

OpenBSD/src aX8mw4ydistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1760+5-2distrib/sets/lists/comp/mi
+5-21 files

OpenBSD/src yB4k5jTdistrib/sets/lists/comp clang.arm64 clang.armv7, distrib/sets/lists/man mi

   sync
VersionDeltaFile
1.48+0-3distrib/sets/lists/comp/clang.arm64
1.48+0-3distrib/sets/lists/comp/clang.armv7
1.1757+1-0distrib/sets/lists/man/mi
+1-63 files

OpenBSD/src NkoRmZUlib/libc/net freeaddrinfo.c getaddrinfo.3

   Do not crash when calling freeaddrinfo(NULL)

   Supported by Linux since at least 1997, and FreeBSD since 2017.  While
   not defined, there's no real good reason to crash when we could just
   cope.  Indeed, software out there relies on the Linux behavior.

   Point out in the manpage that the behavior of getaddrinfo(NULL) isn't
   defined and thus isn't portable.

   Edge case spotted recently by kn@ in OpenVPN.
   ok millert@ djm@ deraadt@ kn@
VersionDeltaFile
1.10+7-3lib/libc/net/freeaddrinfo.c
1.62+6-2lib/libc/net/getaddrinfo.3
+13-52 files

OpenBSD/src a9ohwZ8lib/libagentx agentx.c

   fix memory leaks in error paths
   found with cppcheck, ok martijn@
VersionDeltaFile
1.26+3-1lib/libagentx/agentx.c
+3-11 files

OpenBSD/src T4lgIrqsys/net if_veb.c

   run veb_ip_filter against the right mbuf in veb_broadcast.

   found by jsg@ and smatch
VersionDeltaFile
1.67+2-2sys/net/if_veb.c
+2-21 files

OpenBSD/src LeCsTDPusr.bin/tmux spawn.c

   Setting working directory after fork means there is a race with
   pane_current_path (especially on platforms with systemd which have to
   take time to do some additional faffing around). To avoid this, change
   it before fork and back in the parent afterwards. GitHub issue 4719.
VersionDeltaFile
1.35+27-14usr.bin/tmux/spawn.c
+27-141 files

OpenBSD/src K7w67nNsys/net if_veb.c

   make sure we're in the same pvlan before doing the secondary vid checks.
VersionDeltaFile
1.66+15-4sys/net/if_veb.c
+15-41 files

OpenBSD/src H3Lzk5elib/libfuse fuse_common.h fuse.h

   This is a preperatory patch to move things around to be ready for
   supporting the low-level FUSE API:

   It introduces the following new files.

   - /usr/include/fuse/fuse_common.h
   - /usr/include/fuse/fuse_lowlevel.h
   - /usr/src/lib/libfuse/fuse_chan.c

   Additionally, it relocates all libfuse header files to the
   /usr/include/fuse directory so that it now contains.

   - /usr/include/fuse/fuse.h
   - /usr/include/fuse/fuse_opt.h
   - /usr/include/fuse/fuse_common.h
   - /usr/include/fuse/fuse_lowlevel.h

   Relevant definitions have been moved into their appropriate
   files, and I took the opportunity for some minor cleanup. The

    [4 lines not shown]
VersionDeltaFile
1.1+107-0lib/libfuse/fuse_common.h
1.15+14-73lib/libfuse/fuse.h
1.1+44-0lib/libfuse/fuse_lowlevel.h
1.1+30-0lib/libfuse/fuse_chan.c
1.57+8-11lib/libfuse/fuse.c
1.26+15-3lib/libfuse/fuse_private.h
+218-873 files not shown
+231-959 files

OpenBSD/src 0Lj4Mmwusr.bin/ssh servconf.c gss-serv.c

   add a GssDelegateCreds option for the server, controlling whether it
   accepts delgated credentials offered by the client. This option
   mirrors GssDelegateCreds in ssh_config.

   From Dmitry Belyavskiy via GHPR614; ok dtucker@
VersionDeltaFile
1.439+12-2usr.bin/ssh/servconf.c
1.34+6-1usr.bin/ssh/gss-serv.c
1.389+4-1usr.bin/ssh/sshd_config.5
1.171+2-1usr.bin/ssh/servconf.h
+24-54 files

OpenBSD/src gOVv6a5usr.bin/ssh sshd_config.5

   errant line
VersionDeltaFile
1.388+2-3usr.bin/ssh/sshd_config.5
+2-31 files

OpenBSD/src RoWMxy7usr.bin/ssh sshd_config.5

   There is a warning next to the authorized_keys command="" flag that
   forcing a command doesn't automatically disable forwarding. Add one
   next to the sshd_config(5) ForceCommand directive too.

   feedback deraadt@
VersionDeltaFile
1.387+11-2usr.bin/ssh/sshd_config.5
+11-21 files

OpenBSD/src OwbLuwhusr.bin/ssh sftp-server.c

   increment correct variable when counting group memberships.
   Reported by Kevin Day via bz3903
VersionDeltaFile
1.150+2-2usr.bin/ssh/sftp-server.c
+2-21 files

OpenBSD/src DbJbEwIsys/dev/pci/drm/i915/display intel_dp.c

   drm/i915/dp: Initialize the source OUI write timestamp always

   From Imre Deak
   e656ba6ca534743960f66f70adac9246243fd9e9 in linux-6.12.y/6.12.61
   5861258c4e6a829a10200b41ba3fb4d7d1a4054f in mainline linux
VersionDeltaFile
1.29+4-1sys/dev/pci/drm/i915/display/intel_dp.c
+4-11 files

OpenBSD/src 27phWWSsys/dev/pci/drm drm_fb_helper.c, sys/dev/pci/drm/i915/display intel_fbdev.c

   drm, fbcon, vga_switcheroo: Avoid race condition in fbcon setup

   From Thomas Zimmermann
   482330f8261b4bea8146d9bd69c1199e5dfcbb5c in linux-6.12.y/6.12.61
   eb76d0f5553575599561010f24c277cc5b31d003 in mainline linux
VersionDeltaFile
1.45+0-6sys/dev/pci/drm/drm_fb_helper.c
1.17+0-6sys/dev/pci/drm/i915/display/intel_fbdev.c
1.4+0-4sys/dev/pci/drm/radeon/radeon_fbdev.c
+0-163 files