]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit509c6c317eb8dd50863a8e84333eeb11cb24f86f
tree6c666f0512fa458472df1175d9254e26fd040403
parentc468982935afeca65930a337b459b96128f4090f
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