OpenBSD cvs log

created 2022-09-04T10:20:11Z
begin 2022-08-30T00:00:00Z
end 2022-08-31T00:00:00Z
path src/sys
commits 10

date 2022-08-30T08:30:58Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Move duplicated code to free swap resources into its own function.

ok mlarkin@

date 2022-08-30T09:35:24Z
author bluhm
files src/sys/netinet/udp_usrreq.c log diff annotate
message Protect the receive socket buffer in UDP input with per PCB mutex.
OK claudio@ mvs@

date 2022-08-30T11:53:03Z
author bluhm
files src/sys/net/pf.c log diff annotate
message Refactor internet PCB lookup function. Rename in_pcbhashlookup()
so the public API is in_pcblookup() and in_pcblookup_listen(). For
internal use introduce in_pcbhash_insert() and in_pcbhash_lookup()
to avoid code duplication. Routing domain is unsigned, change the
type to u_int.
OK mvs@

date 2022-08-30T11:53:04Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_subr.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message Refactor internet PCB lookup function. Rename in_pcbhashlookup()
so the public API is in_pcblookup() and in_pcblookup_listen(). For
internal use introduce in_pcbhash_insert() and in_pcbhash_lookup()
to avoid code duplication. Routing domain is unsigned, change the
type to u_int.
OK mvs@

date 2022-08-30T16:24:16Z
author miod
files src/sys/kern/uipc_usrreq.c log diff annotate
message Fix uninitialized variable after the switch to (*pru_send); found the hard
way on alpha.
ok bluhm@ mvs@

date 2022-08-30T16:26:29Z
author miod
files src/sys/arch/alpha/include/asm.h log diff annotate
src/sys/arch/amd64/include/asm.h log diff annotate
src/sys/arch/arm/include/asm.h log diff annotate
src/sys/arch/arm64/include/asm.h log diff annotate
src/sys/arch/i386/include/asm.h log diff annotate
src/sys/arch/riscv64/include/asm.h log diff annotate
src/sys/arch/sh/include/asm.h log diff annotate
src/sys/arch/sparc64/include/asm.h log diff annotate
message Remove long unused WARN_REFERENCES macro; idea guenther@, ok jsg@ jca@

date 2022-08-30T17:09:21Z
author dv
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/amd64/include/specialreg.h log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message Initial support for mmio assist for vmm(4)

Provide the basic information required for a userland assist in
emulating instructions touching mmio regions, sending as much
information as is provided by the host hardware.

No decode or assist provided at the moment by vmd(8).

ok mlarkin@

date 2022-08-30T18:23:58Z
author kn
files src/sys/net/if_var.h log diff annotate
message Remove struct ifnet's unused if_switchport member

This is a switch(4) left-over.

Even though it is defined under _KERNEL, a few ports do define it and
include <net/if_var.h>, so this removal warrants a REVISION bump for all
potential ports consumers (once ports bulk machines run on a snapshot
containing this commit).

OK mvs

date 2022-08-30T19:42:29Z
author bluhm
files src/sys/net/pipex.c log diff annotate
message Syzkaller found a missing input validation in pipex mppe keylenbits.
Reported-by: [email protected]
tested yasuoka@; OK mvs@ yasuoka@

date 2022-08-30T19:52:58Z
author benno
files src/sys/dev/pci/if_ix.c log diff annotate
message remove an unused argument of ixgbe_rx_checksum()
ok mbuhl@