[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131219.183625.1952631278036234141.davem@davemloft.net>
Date: Thu, 19 Dec 2013 18:36:25 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
gaofeng@...fujitsu.com
Subject: Re: [PATCH v2] ipv6: always set the new created dst's from in
ip6_rt_copy
From: roy.qing.li@...il.com
Date: Thu, 19 Dec 2013 12:40:26 +0800
> From: Li RongQing <roy.qing.li@...il.com>
>
> ip6_rt_copy only sets dst.from if ort has flag RTF_ADDRCONF and RTF_DEFAULT.
> but the prefix routes which did get installed by hand locally can have an
> expiration, and no any flag combination which can ensure a potential from
> does never expire, so we should always set the new created dst's from.
>
> This also fixes the new created dst is always expired since the ort, which
> is created by RA, maybe has RTF_EXPIRES and RTF_ADDRCONF, but no RTF_DEFAULT.
>
> Suggested-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
> CC: Gao feng <gaofeng@...fujitsu.com>
> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
Applied and queued up for -stable, thanks.
--
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