OpenBSD cvs log

created 2025-02-03T08:47:30Z
begin 2025-01-16T00:00:00Z
end 2025-01-17T00:00:00Z
path src/sys
commits 5

date 2025-01-16T10:33:27Z
author sf
files src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/viocon.c log diff annotate
src/sys/dev/pv/viogpu.c log diff annotate
message constify struct virtio_feature_name

Most are already static const. Adjust the rest, too.

date 2025-01-16T11:59:20Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_subr.c log diff annotate
src/sys/netinet/tcp_timer.c log diff annotate
src/sys/netinet/tcp_timer.h log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
message Remove net lock from TCP sysctl for keep alive.

Keep copies in seconds for the sysctl and update timer variables
atomically when they change. tcp_maxidle was historically calculated
in tcp_slowtimo() as the timers were called from there. Better
calculate maxidle when needed. tcp_timer_init() is useless, just
initialize data. While there make the names consistent.

input sthen@; OK mvs@

date 2025-01-16T16:35:01Z
author bluhm
files src/sys/kern/uipc_socket2.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Lock the new socket in sonewconn() also for the internet family.

UNIX sockets were already locking the newly allocated socket during
soreserve() and pru_attach(). The same is neeed for TCP input
unlocking. When two sockets have to be locked, one needs shared
net lock, but the other already has it. This is the same idea as
in doaccept(). Unify the lock functions solock_nonet() and
sounlock_nonet().

OK mvs@

date 2025-01-16T17:20:23Z
author mvs
files src/sys/net/if.c log diff annotate
message Move some copyout()s within ifioctl_get() out of shared netlock.

UVM releases exclusive netlock while going to swap, but it can't
determine is shared netlock held or not.

ifioctl_get() does read-only access, so it could follow sogetopt() way.
The copyout()s under shared netlock kept for ifgroup stuff, I will fix
this separately.

ok bluhm

date 2025-01-16T22:58:19Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
src/sys/dev/usb/uvideo.h log diff annotate
message sys/uvideo: sync GUID to pixelformat mappngs with Linux 6.13-rc7

OK: mglocker@