commit | f56619fc72407561b00c52244a2caa53d730bc4a | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sat Jun 26 11:37:47 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 30 10:28:43 2010 -0700 |
tree | 9201b8700d4f8e185def920261a3cb718494cdcb | |
parent | 5a9dbfe08ee17f0dc9ecff647eba3d04afa01200 [diff] |
ipv6: Clamp reported valid_lft to a minimum of 0 Since addresses are only revalidated every 2 minutes, the reported valid_lft can underflow shortly before the address is deleted. Clamp it to a minimum of 0, as for prefered_lft. Reported-by: Piotr Lewandowski <piotr.lewandowski@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>