diff options
author | Yasushi Asano <yasushi.asano@jp.fujitsu.com> | 2013-12-31 12:04:19 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-02 19:34:40 -0500 |
commit | fad8da3e085ddf5e661090033287f1a5d62858fc (patch) | |
tree | 0fe549cf177e560ace8ae557fc138d6355726803 /net/ipv6/ip6_tunnel.c | |
parent | 4d231b76eef6c4a6bd9c96769e191517765942cb (diff) | |
download | op-kernel-dev-fad8da3e085ddf5e661090033287f1a5d62858fc.zip op-kernel-dev-fad8da3e085ddf5e661090033287f1a5d62858fc.tar.gz |
ipv6 addrconf: fix preferred lifetime state-changing behavior while valid_lft is infinity
Fixed a problem with setting the lifetime of an IPv6
address. When setting preferred_lft to a value not zero or
infinity, while valid_lft is infinity(0xffffffff) preferred
lifetime is set to forever and does not update. Therefore
preferred lifetime never becomes deprecated. valid lifetime
and preferred lifetime should be set independently, even if
valid lifetime is infinity, preferred lifetime must expire
correctly (meaning it must eventually become deprecated)
Signed-off-by: Yasushi Asano <yasushi.asano@jp.fujitsu.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions