aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r--net/ipv6/ndisc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 7cb236e8e261..35615c6358b8 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -1267,8 +1267,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
1267 } 1267 }
1268 1268
1269 if (rt) 1269 if (rt)
1270 rt->dst.expires = jiffies + (HZ * lifetime); 1270 rt6_set_expires(rt, jiffies + (HZ * lifetime));
1271
1272 if (ra_msg->icmph.icmp6_hop_limit) { 1271 if (ra_msg->icmph.icmp6_hop_limit) {
1273 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; 1272 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit;
1274 if (rt) 1273 if (rt)