OpenBSD cvs log

created 2024-02-04T18:36:47Z
begin 2024-01-27T00:00:00Z
end 2024-01-28T00:00:00Z
path src/sys
commits 5

date 2024-01-27T11:22:16Z
author kettenis
files src/sys/dev/fdt/sxirtc.c log diff annotate
message Add support for newer SoCs that store the data as number of days since the
Unix epoch instead of a calender date.

ok jca@

date 2024-01-27T12:05:40Z
author kettenis
files src/sys/arch/riscv64/conf/files.riscv64 log diff annotate
src/sys/arch/riscv64/dev/sxitimer.c log diff annotate
src/sys/arch/riscv64/include/cpu.h log diff annotate
src/sys/arch/riscv64/riscv64/clock.c log diff annotate
message On Allwinner D1, the SBI call to schedule timer interrupts doesn't work.
Instead we have to use one of the timers integerated on the SoC that
triggers an external interrupt. Add the appropriate driver and change
the MD clock code to hook it up.

ok cheloha@, jca@

date 2024-01-27T12:23:03Z
author kettenis
files src/sys/arch/riscv64/conf/GENERIC log diff annotate
src/sys/arch/riscv64/conf/RAMDISK log diff annotate
message Add a few drivers to support Allwinner D1.

date 2024-01-27T21:13:46Z
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_var.h log diff annotate
src/sys/netinet6/in6.h log diff annotate
message Declare address parameter in TCP SYN cache const.

tcp6_ctlinput() casted a constant sockaddr_sin6 to non-const sockaddr.
sa6_src may be &sa6_any which lives in read-only data section.
Better pass down the const addresses to syn_cache_lookup(). They
are needed for hash lookup and are not modified.

OK mvs@

date 2024-01-27T21:35:13Z
author bluhm
files src/sys/netinet/tcp_timer.c log diff annotate
message Assert that tcp_timer_rexmt() uses IPv4 inpcb.

in_pcbnotifyall() must be called with IPv4 inpcb only. Comment why
this is the case and verify it with kassert. This assures that
inp_faddr is a valid address.

OK mvs@