IPv6: only update the lifetime of the relevant temporary address
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 2 Apr 2008 07:00:58 +0000 (00:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Apr 2008 07:00:58 +0000 (00:00 -0700)
commitc6fbfac2e61c9a8617f64b93e8c990b8d864bce5
tree54fd0c1543069a617e3b315346e3593e0b3be52c
parent1905f6c736cb618e07eca0c96e60e3c024023428
IPv6: only update the lifetime of the relevant temporary address

When receiving a prefix information from a routeur, only update the
lifetimes of the temporary address associated with that prefix.

Otherwise if one deprecated prefix is advertized, all your temporary
addresses will become deprecated.

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