[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131219124331.GA23429@order.stressinduktion.org>
Date: Thu, 19 Dec 2013 13:43:31 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org, gaofeng@...fujitsu.com
Subject: Re: [PATCH v2] ipv6: always set the new created dst's from in ip6_rt_copy
On Thu, Dec 19, 2013 at 12:40:26PM +0800, roy.qing.li@...il.com wrote:
> 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>
Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
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