[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <97ece170-439f-18aa-0d2e-d23ccd1d9479@cogentembedded.com>
Date: Thu, 19 Oct 2017 11:45:21 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Wei Wang <weiwan@...gle.com>, Martin KaFai Lau <kafai@...com>,
Eric Dumazet <edumazet@...gle.com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH net-next v2 1/2] ipv6: start fib6 gc on RTF_CACHE dst
creation
Hello!
On 10/18/2017 11:23 PM, Paolo Abeni wrote:
> After the commit Fixes: 2b760fcf5cfb ("ipv6: hook up exception
Fixes: belongs in the tag section. :-)
> table to store dst cache"), the fib6 gc is not started after
> the creation of a RTF_CACHE via a redirect or pmtu update, since
> fib6_add() isn't invoked anymore for such dsts.
>
> We need the fib6 gc to run periodically to clean the RTF_CACHE,
> or the dst will stay there forever.
>
> Fix it by explicitly calling fib6_force_start_gc() on successful
> exception creation. gc_args->more accounting will ensure that
> the gc timer will run for whatever time needed to properly
> clean the table.
>
> Fixes: 2b760fcf5cfb ("ipv6: hook up exception table to store dst cache")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> Acked-by: Wei Wang <weiwan@...gle.com>
> Acked-by: Martin KaFai Lau <kafai@...com>
[...]
MBR, Sergei
Powered by blists - more mailing lists