diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index b7eb51e1a0e1..563f12c1c99c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2471,8 +2471,7 @@ static int rt6_fill_node(struct net *net, | |||
2471 | else | 2471 | else |
2472 | expires = INT_MAX; | 2472 | expires = INT_MAX; |
2473 | 2473 | ||
2474 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, 0, 0, | 2474 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, rt->dst.error) < 0) |
2475 | expires, rt->dst.error) < 0) | ||
2476 | goto nla_put_failure; | 2475 | goto nla_put_failure; |
2477 | 2476 | ||
2478 | return nlmsg_end(skb, nlh); | 2477 | return nlmsg_end(skb, nlh); |