diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 973a97abc446..6ecb5e6fae2e 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -544,12 +544,8 @@ restart: | |||
544 | rt = rt6_device_match(rt, fl->oif, flags); | 544 | rt = rt6_device_match(rt, fl->oif, flags); |
545 | BACKTRACK(&fl->fl6_src); | 545 | BACKTRACK(&fl->fl6_src); |
546 | out: | 546 | out: |
547 | dst_hold(&rt->u.dst); | 547 | dst_use(&rt->u.dst, jiffies); |
548 | read_unlock_bh(&table->tb6_lock); | 548 | read_unlock_bh(&table->tb6_lock); |
549 | |||
550 | rt->u.dst.lastuse = jiffies; | ||
551 | rt->u.dst.__use++; | ||
552 | |||
553 | return rt; | 549 | return rt; |
554 | 550 | ||
555 | } | 551 | } |