diff options
| author | 2010-06-26 11:37:47 +0000 | |
|---|---|---|
| committer | 2010-06-30 10:28:43 -0700 | |
| commit | f56619fc72407561b00c52244a2caa53d730bc4a (patch) | |
| tree | 9201b8700d4f8e185def920261a3cb718494cdcb /net/core/dev.c | |
| parent | usb: pegasus: fixed coding style issues (diff) | |
| download | linux-dev-f56619fc72407561b00c52244a2caa53d730bc4a.tar.xz linux-dev-f56619fc72407561b00c52244a2caa53d730bc4a.zip | |
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/dev.c')
0 files changed, 0 insertions, 0 deletions
