OpenBSD cvs log

created 2022-05-07T20:21:54Z
begin 2022-05-05T00:00:00Z
end 2022-05-06T00:00:00Z
path src/sys
commits 7

date 2022-05-05T08:43:37Z
author claudio
files src/sys/netinet/in.c log diff annotate
message No longer consider IN_EXPERIMENTAL aka 240/4 as not forwardable.
We already allow 240/4 in and out so lets allow it through as well.
One of many steps to make 240/4 useable.
Diff by Seth David Schoen (schoen at loyalty.org)
OK bluhm@ djm@

date 2022-05-05T09:45:15Z
author bluhm
files src/sys/kern/kern_time.c log diff annotate
message Using mutex initializer for static variable does not compile with
witness. Make ratecheck mutex global.
Reported-by: [email protected]

date 2022-05-05T12:26:06Z
author fcambus
files src/sys/dev/pci/pcidevs log diff annotate
message Add ID for the AMD Sensor Fusion Hub found on my Ryzen-based ZBOX CA621.

OK jsg@

date 2022-05-05T12:29:14Z
author fcambus
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-05-05T13:57:40Z
author claudio
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet/ip_mroute.h log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
message Use static objects for struct rttimer_queue instead of dynamically
allocate them.

Currently there are 6 rttimer_queues and not many more will follow. So
change rt_timer_queue_create() to rt_timer_queue_init() which now takes
a struct rttimer_queue * as argument which will be initialized.
Since this changes the gloabl vars from pointer to struct adjust other
callers as well.
OK bluhm@

date 2022-05-05T13:57:41Z
author claudio
files src/sys/netinet6/ip6_mroute.c log diff annotate
src/sys/netinet6/ip6_mroute.h log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message Use static objects for struct rttimer_queue instead of dynamically
allocate them.

Currently there are 6 rttimer_queues and not many more will follow. So
change rt_timer_queue_create() to rt_timer_queue_init() which now takes
a struct rttimer_queue * as argument which will be initialized.
Since this changes the gloabl vars from pointer to struct adjust other
callers as well.
OK bluhm@

date 2022-05-05T16:44:22Z
author bluhm
files src/sys/net/pf.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_divert.h log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_divert.h log diff annotate
message Clean up divert_packet(). Function does not return error, make it
void. Introduce mutex and refcounting for inp like in the other
PCB functions.
OK sashan@