OpenBSD cvs log

created 2025-02-04T04:34:39Z
begin 2025-01-23T00:00:00Z
end 2025-01-24T00:00:00Z
path src/sys
commits 5

date 2025-01-23T10:44:13Z
author bluhm
files src/sys/kern/uipc_socket.c log diff annotate
message Fix out-of-band data in socket splicing.

In somove() length of receive buffer and oobmark were not modified
in the same critical section. This resulted in wrong out-of-band
pointer relative to data in the socket buffer. To call pru_rcvd()
the receive socket buffer mutex is released, leading to this
inconsistency. Moving mutex leave and calling pru_rcvd() after
updating so_oobmark fixes the test regress/sys/kern/sosplice/tcp
run-args-oobinline.pl.

OK mvs@

date 2025-01-23T11:17:32Z
author mpi
files src/sys/dev/dt/dt_prov_profile.c log diff annotate
src/sys/dev/dt/dtvar.h log diff annotate
message Support additional interval/profile units in btrace(8): hz, us, ms, s.

Kill `dtrq_rate' and use nanosecond internally to represent durations.

From Christian Ludwig based on a diff from cheloha@.

ok claudio@

date 2025-01-23T11:24:34Z
author kettenis
files src/sys/arch/amd64/include/pci_machdep.h log diff annotate
src/sys/arch/amd64/pci/pci_machdep.c log diff annotate
src/sys/arch/arm64/dev/acpipci.c log diff annotate
src/sys/arch/arm64/include/pci_machdep.h log diff annotate
src/sys/arch/i386/pci/pci_machdep.c log diff annotate
src/sys/arch/i386/pci/pci_machdep.h log diff annotate
src/sys/dev/acpi/abl.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
message Handle the case of multiple MCFG table entries for a single segment by
checking that the bus number falls within the range of the MCFG entry.

ok patrick@

date 2025-01-23T12:51:51Z
author bluhm
files src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
message Fix inpcb leak in divert attach.

All other internet socket attach functions first call soreserve()
and then in_pcballoc(). This avoids an in_pcbdetach() in the error
path. Current divert attach code may leak the inpcb. Reorder calls
to allow simple error handling.

OK mvs@

date 2025-01-23T13:40:26Z
author kettenis
files src/sys/dev/acpi/dsdt.c log diff annotate
message The AttribRawProcessBytes operation isn't implemented correctly, so rather
than doing the wrong thing, make it fail. This is still good enough to
make the HP Omnibook X 14 boot in ACPI mode.

ok landry@, kirill@