]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] Fix route lifetime.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 20 Dec 2005 01:01:49 +0000 (17:01 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Dec 2005 00:08:58 +0000 (16:08 -0800)
commit974674b84fe907035254bc0a5257a4e1c511f156
tree251bcef2cca7bd6f55ce055325c6042d421cc10a
parenta7508849e7d21b89010539d54359ef8f3d89e8ec
[PATCH] Fix route lifetime.

The route expiration time is stored in rt6i_expires in jiffies.
The argument of rt6_route_add() for adding a route is not the
expiration time in jiffies nor in clock_t, but the lifetime
(or time left before expiration) in clock_t.

Because of the confusion, we sometimes saw several strange errors
(FAILs) in TAHI IPv6 Ready Logo Phase-2 Self Test.
The symptoms were analyzed by Mitsuru Chinen <CHINEN@jp.ibm.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c
net/ipv6/route.c