Received: with ECARTIS (v1.0.0; list netdev); Sun, 30 Jan 2005 08:08:53 -0800 (PST) Received: from caramon.arm.linux.org.uk (caramon.arm.linux.org.uk [212.18.232.186]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0UG8m9V023487 for ; Sun, 30 Jan 2005 08:08:48 -0800 Received: from flint.arm.linux.org.uk ([2002:d412:e8ba:1:201:2ff:fe14:8fad]) by caramon.arm.linux.org.uk with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CvHcv-000140-G9 for netdev@oss.sgi.com; Sun, 30 Jan 2005 16:08:41 +0000 Received: from rmk by flint.arm.linux.org.uk with local (Exim 4.41) id 1CvHcu-0008Vn-Dh for netdev@oss.sgi.com; Sun, 30 Jan 2005 16:08:40 +0000 Date: Sun, 30 Jan 2005 16:08:40 +0000 From: Russell King To: netdev@oss.sgi.com Subject: ip -6 route shows incorrect route expiry times Message-ID: <20050130160840.C25000@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 1007 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: rmk@arm.linux.org.uk Precedence: bulk X-list: netdev Content-Length: 631 Lines: 16 This looks like a unit conversion error, spotted in Red Hat FC2. On it's own, it doesn't look like there's anything wrong, until you look at two copies of the output 10 seconds apart: rmk@dyn-67:[bk]:<1030> /sbin/ip -6 route; sleep 10; /sbin/ip -6 route default via fe80::a00:2bff:fe95:1d7b dev eth0 proto kernel metric 1024 expires 169sec mtu 1500 advmss 1440 default via fe80::a00:2bff:fe95:1d7b dev eth0 proto kernel metric 1024 expires 168sec mtu 1500 advmss 1440 It appears that the expiry seconds here are actually in units of 10 seconds. Maybe someone's double-converting kernel Hz to user Hz? -- Russell King