Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97093
b: refs/heads/master
c: 69cdf8f
h: refs/heads/master
i:
  97091: 2345214
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed May 19, 2008
1 parent 80a8642 commit fd416e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3264435b4ca1ccee54cbef2970f2ba4bef39e2d
refs/heads/master: 69cdf8f92a8dd191eee0e834c631d84a140b1121
4 changes: 3 additions & 1 deletion trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,9 @@ static int rt6_fill_node(struct sk_buff *skb, struct rt6_info *rt,

NLA_PUT_U32(skb, RTA_PRIORITY, rt->rt6i_metric);

expires = rt->rt6i_expires ? rt->rt6i_expires - jiffies : 0;
expires = (rt->rt6i_flags & RTF_EXPIRES) ?
rt->rt6i_expires - jiffies : 0;

if (rtnl_put_cacheinfo(skb, &rt->u.dst, 0, 0, 0,
expires, rt->u.dst.error) < 0)
goto nla_put_failure;
Expand Down

0 comments on commit fd416e0

Please sign in to comment.