[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413175142.GA925334@devbig242.prn2.facebook.com>
Date: Mon, 13 Apr 2015 10:51:43 -0700
From: Martin KaFai Lau <kafai@...com>
To: Steffen Klassert <steffen.klassert@...unet.com>
CC: <netdev@...r.kernel.org>,
Hannes Frederic Sowa <hannes@...essinduktion.org>,
<kernel-team@...com>
Subject: Re: [RFC PATCH net-next 08/10] ipv6: Do not use inetpeer when
creating RTF_CACHE route for /128 via gateway entry
On Mon, Apr 13, 2015 at 01:06:32PM +0200, Steffen Klassert wrote:
> On Fri, Apr 10, 2015 at 06:59:34PM -0700, Martin KaFai Lau wrote:
> > When there is a pmtu exception on /128 via gateway route, we need to
> > create a separate metrics copy for the newly created RTF_CACHE route instead
> > of reusing the inetpeer cache.
>
> Maybe we should remove the caching of the metrics on the inetpeer
> completely. After your patchset only static hostroutes using this,
The RTF_CACHE copied from "plen <128 via gateway" route will also use
the inetpeer.
> and this is exactly the case where it is buggy. If a second route
> to the same host is added, the metrics of the first will be
> overwritten.
I agree. The current upstream also has similar bug.
I had thought about changes as you suggested but decided to
use a separate patch instead. I will try to consider it in v2.
Thanks,
--Martin
--
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