OpenBSD cvs log

created 2025-02-08T15:50:20Z
begin 2025-02-01T00:00:00Z
end 2025-02-02T00:00:00Z
path src/sys
commits 2

date 2025-02-01T21:10:02Z
author bluhm
files src/sys/net/pf_norm.c log diff annotate
message Fix pf fragment hole count.

Fragment reassembly finishes when no holes are left in the fragment
queue. In certain overlap conditions, the hole counter was wrong
and pf(4) created an incomplete IP packet. Before adjusting the
length, remove the overlapping fragment from the queue and insert
it again afterwards. pf_frent_remove() and pf_frent_insert() adjust
the hole counter automatically.

bug reported and fix tested by Lucas Aubard with Johan Mazel, Gilles
Guette and Pierre Chifflier; OK claudio@

date 2025-02-01T22:46:34Z
author patrick
files src/sys/dev/usb/xhcivar.h log diff annotate
message Force 32-bit accesses when reading 8-bit or 16-bit registers. This
allows using xhci(4) on a Cadence xHCI controller as seen on the Radxa
Orion O6. This should be fine on all, also because these access are not
really in a critical path and issues will be noticeable right away:

Such accesses are used only by the version printf, the reading of the
offset to the operation registers, and for the semaphore when taking
over from BIOS. An issue there will be noticeable right away.

Tested by and ok kettenis@ mglocker@