CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2022/05/05 07:57:41
Modified files: sys/net : route.c route.h sys/netinet : ip_icmp.c ip_input.c ip_mroute.c ip_mroute.h ip_var.h sys/netinet6 : icmp6.c ip6_input.c ip6_mroute.c ip6_mroute.h ip6_var.h Log 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@