]> err.no Git - linux-2.6/commit
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)
commiteac55bf97094f6b64116426864cf4666ef7587bc
tree467776de93a7fdbb75904dbd702f7c417e18aa69
parentc6fbfac2e61c9a8617f64b93e8c990b8d864bce5
IPv6: do not create temporary adresses with too short preferred lifetime

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>
net/ipv6/addrconf.c