ipv6 route: Fix lifetime in netlink.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 19 May 2008 23:55:13 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 23:55:13 +0000 (16:55 -0700)
commit69cdf8f92a8dd191eee0e834c631d84a140b1121
tree6c666f0512fa458472df1175d9254e26fd040403
parenta3264435b4ca1ccee54cbef2970f2ba4bef39e2d
ipv6 route: Fix lifetime in netlink.

We could not see appropriate lifetime if the route had been scheduled
to expired at 0 (in jiffies).  We should check rt6i_flags instead of
rt6i_expires to determine whether lifetime is valid or not.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c