Thread (1 message) 1 message, 1 author, 2016-07-01

Re: [PATCH] ip route: timeout for routes has to be set in seconds

From: Stephen Hemminger <hidden>
Date: 2016-07-01 00:31:07

Possibly related (same subject, not in this thread)

On Tue, 28 Jun 2016 23:27:14 +0000
Andrey Vagin [off-list ref] wrote:
From: Andrew Vagin <redacted>

Currently a timeout is multiplied by HZ in user-space and
then it multiplied by HZ in kernel-space.

$ ./ip/ip r add 2002::0/64 dev veth1 expires 10
$ ./ip/ip -6 r
2002::/64 dev veth1  metric 1024 linkdown  expires 996sec pref medium

Cc: Xin Long <lucien.xin@gmail.com>
Cc: Hangbin Liu <redacted>
Cc: Stephen Hemminger <redacted>
Fixes: 68eede250500 ("route: allow routes to be configured with expire values")
Signed-off-by: Andrew Vagin <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help