Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 21:24:36 GMT
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e4ac3f746377 - main - Fix fib algo rebuild delay calculation.
Message-ID:  <202103152124.12FLOaK1060654@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=e4ac3f74637778981b2d89745188bb2a39e24e42

commit e4ac3f74637778981b2d89745188bb2a39e24e42
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2021-03-15 21:09:07 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2021-03-15 21:09:07 +0000

    Fix fib algo rebuild delay calculation.
    
    Submitted by:   Marco Zec <zec at fer.hr>
    MFC after:      3 days
---
 sys/net/route/fib_algo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/route/fib_algo.c b/sys/net/route/fib_algo.c
index b2aa2de087de..03c265d28d09 100644
--- a/sys/net/route/fib_algo.c
+++ b/sys/net/route/fib_algo.c
@@ -462,7 +462,7 @@ static void
 schedule_callout(struct fib_data *fd, int delay_ms)
 {
 
-	callout_reset_sbt(&fd->fd_callout, 0, SBT_1MS * delay_ms,
+	callout_reset_sbt(&fd->fd_callout, SBT_1MS * delay_ms, 0,
 	    rebuild_fd_callout, fd, 0);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103152124.12FLOaK1060654>