[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160630172922.2e9efbcb@xeon-e3>
Date: Thu, 30 Jun 2016 17:29:22 -0700
From: Stephen Hemminger <shemming@...cade.com>
To: Andrey Vagin <avagin@...nvz.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Andrew Vagin <avagin@...tuozzo.com>,
Xin Long <lucien.xin@...il.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: Re: [PATCH] ip route: timeout for routes has to be set in seconds
On Tue, 28 Jun 2016 23:27:14 +0000
Andrey Vagin <avagin@...nvz.org> wrote:
> From: Andrew Vagin <avagin@...tuozzo.com>
>
> 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@...il.com>
> Cc: Hangbin Liu <liuhangbin@...il.com>
> Cc: Stephen Hemminger <shemming@...cade.com>
> Fixes: 68eede250500 ("route: allow routes to be configured with expire values")
> Signed-off-by: Andrew Vagin <avagin@...tuozzo.com>
Applied.
Powered by blists - more mailing lists