Re: route timer init

2022-04-19 Thread Claudio Jeker
On Tue, Apr 19, 2022 at 04:57:27PM +0200, Alexander Bluhm wrote: > On Tue, Apr 19, 2022 at 08:46:06AM +0200, Claudio Jeker wrote: > > On Tue, Apr 19, 2022 at 12:07:49AM +0200, Alexander Bluhm wrote: > > > Hi, > > > > > > Instead of using a MP unsafe global variable, just call rt_timer_init() > > >

Re: route timer init

2022-04-19 Thread Alexander Bluhm
On Tue, Apr 19, 2022 at 08:46:06AM +0200, Claudio Jeker wrote: > On Tue, Apr 19, 2022 at 12:07:49AM +0200, Alexander Bluhm wrote: > > Hi, > > > > Instead of using a MP unsafe global variable, just call rt_timer_init() > > from route_init(). > > > > ok? > > Wouldn't it be better to move this into

Re: route timer init

2022-04-18 Thread Claudio Jeker
On Tue, Apr 19, 2022 at 12:07:49AM +0200, Alexander Bluhm wrote: > Hi, > > Instead of using a MP unsafe global variable, just call rt_timer_init() > from route_init(). > > ok? Wouldn't it be better to move this into rtable_init? route_init() is called by domaininit() as the last init function (r

route timer init

2022-04-18 Thread Alexander Bluhm
Hi, Instead of using a MP unsafe global variable, just call rt_timer_init() from route_init(). ok? bluhm Index: net/route.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/route.c,v retrieving revision 1.402 diff -u -p -r1.402 r