Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154490
b: refs/heads/master
c: a1faa69
h: refs/heads/master
v: v3
  • Loading branch information
Jens Rosenboom authored and David S. Miller committed Jun 26, 2009
1 parent a531d66 commit 64644b1
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 1ac530b3553e0b4dc1e18a32bed57cfa84cd57cb
refs/heads/master: a1faa69810b2af562b70b2a71c116c7d03575dd3
5 changes: 4 additions & 1 deletion trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3362,7 +3362,10 @@ static int inet6_fill_ifaddr(struct sk_buff *skb, struct inet6_ifaddr *ifa,
valid = ifa->valid_lft;
if (preferred != INFINITY_LIFE_TIME) {
long tval = (jiffies - ifa->tstamp)/HZ;
preferred -= tval;
if (preferred > tval)
preferred -= tval;
else
preferred = 0;
if (valid != INFINITY_LIFE_TIME)
valid -= tval;
}
Expand Down

0 comments on commit 64644b1

Please sign in to comment.