[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080402.084836.12035236.yoshfuji@linux-ipv6.org>
Date: Wed, 02 Apr 2008 08:48:36 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: benoit.boissinot@...-lyon.org
Cc: netdev@...r.kernel.org, pekkas@...core.fi
Subject: Re: [PATCH 1 of 2] IPv6: only update the lifetime of the relevant
temporary address
In article <0c33481968e0b6b8efd7.1207091340@...zuine> (at Wed, 02 Apr 2008 01:09:00 +0200), Benoit Boissinot <benoit.boissinot@...-lyon.org> says:
> 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@...-lyon.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
>
> diff -r a3c03e70c69f -r 0c33481968e0 net/ipv6/addrconf.c
> --- a/net/ipv6/addrconf.c Wed Apr 02 00:45:29 2008 +0200
> +++ b/net/ipv6/addrconf.c Sat Mar 22 00:41:39 2008 +0100
> @@ -1831,6 +1831,9 @@
> * lifetimes of an existing temporary address
> * when processing a Prefix Information Option.
> */
> + if (ifp != ift->ifpub)
> + continue;
> +
> spin_lock(&ift->lock);
> flags = ift->flags;
> if (ift->valid_lft > valid_lft &&
> --
> 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
--
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