Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
On Mon, Dec 17, 2018 at 08:18:42AM +0100, Claudio Jeker wrote: > On Sun, Dec 16, 2018 at 04:58:35PM -0600, Scott Cheloha wrote: > > On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > > > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > > > and timeout_add(X, tvto

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
On Sun, Dec 16, 2018 at 04:58:35PM -0600, Scott Cheloha wrote: > On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). > > Remember that tvtohz(9) adds a

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Scott Cheloha
On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). Remember that tvtohz(9) adds an extra tick where timeout_add_tv(9) does not. That doesn't look to be a

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Klemens Nanni
On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). OK

convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). OK? -- :wq Claudio Index: net/pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.1079 diff