IPv6: do not create temporary adresses with too short preferred lifetime
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 2 Apr 2008 07:01:35 +0000 (00:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Apr 2008 07:01:35 +0000 (00:01 -0700)
From RFC341:
A temporary address is created only if this calculated Preferred
Lifetime is greater than REGEN_ADVANCE time units.  In particular, an
implementation must not create a temporary address with a zero
Preferred Lifetime.

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found