[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131209234704.GF7396@order.stressinduktion.org>
Date: Tue, 10 Dec 2013 00:47:04 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: "Asano, Yasushi" <yasushi.asano@...fujitsu.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/1] ipv6 addrconf:fix preferred lifetime state-changing behavior while valid_lft is infinity
On Mon, Dec 09, 2013 at 05:54:37AM +0000, Asano, Yasushi wrote:
> from: Yasushi Asano <yasushi.asano@...fujitsu.com>
>
> There is a problem when setting the lifetime of an IPv6 address.
> When I set 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.
>
> I think 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)
>
> I made a patch for 3.12 stable to solve the problem.
This indeed could be improved. Thanks for the patch. But you should base
it on net-next so it can be applied and please clean up the warnings
and errors if you run the patch through ./scripts/checkpatch --strict.
Thank you,
Hannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists