[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1517045984.3170.1.camel@redhat.com>
Date: Sat, 27 Jan 2018 10:39:44 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: Wei Wang <weiwan@...gle.com>, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org
Cc: Eric Dumazet <edumazet@...gle.com>, Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH net] ipv6: change route cache aging logic
On Fri, 2018-01-26 at 11:40 -0800, Wei Wang wrote:
> From: Wei Wang <weiwan@...gle.com>
>
> In current route cache aging logic, if a route has both RTF_EXPIRE and
> RTF_GATEWAY set, the route will only be removed if the neighbor cache
> has no RTN_ROUTE flag. Otherwise, even if the route has expired, it
> won't get deleted.
> Fix this logic to always check if the route has expired first and then
> do the gateway neighbor cache check if previous check decide to not
> remove the exception entry.
>
> Fixes: 1859bac04fb6 ("ipv6: remove from fib tree aged out RTF_CACHE dst")
> Signed-off-by: Wei Wang <weiwan@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Thank you for the fix!
LGTM
Acked-by: Paolo Abeni <pabeni@...hat.com>
Cheers,
/P
Powered by blists - more mailing lists