summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-06-26 11:37:47 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-30 10:28:43 -0700
commitf56619fc72407561b00c52244a2caa53d730bc4a (patch)
tree9201b8700d4f8e185def920261a3cb718494cdcb /net/core
parent5a9dbfe08ee17f0dc9ecff647eba3d04afa01200 (diff)
downloadop-kernel-dev-f56619fc72407561b00c52244a2caa53d730bc4a.zip
op-kernel-dev-f56619fc72407561b00c52244a2caa53d730bc4a.tar.gz
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud