summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-03-20 17:05:47 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 17:05:47 -0800
commit52e1635631b342803aecaf81a362c1464e3da2e5 (patch)
tree971c40743f7fcb594697dd18d22e2d8b168d1785 /net/ipv6/route.c
parent930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba (diff)
downloadop-kernel-dev-52e1635631b342803aecaf81a362c1464e3da2e5.zip
op-kernel-dev-52e1635631b342803aecaf81a362c1464e3da2e5.tar.gz
[IPV6]: ROUTE: Add router_probe_interval sysctl.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 8ba8900..c797b9b 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -234,7 +234,7 @@ static void rt6_probe(struct rt6_info *rt)
return;
read_lock_bh(&neigh->lock);
if (!(neigh->nud_state & NUD_VALID) &&
- time_after(jiffies, neigh->updated + 60 * HZ)) {
+ time_after(jiffies, neigh->updated + rt->rt6i_idev->cnf.rtr_probe_interval)) {
struct in6_addr mcaddr;
struct in6_addr *target;
OpenPOWER on IntegriCloud