Subject: Re: [PATCH net] ipv6: change route cache aging logic

From: Paolo Abeni <[email-masked]>
Date: Sat, 27 Jan 2018 10:39:44 +0100

On Fri, 2018-01-26 at 11:40 -0800, Wei Wang wrote:
> From: Wei Wang <[email-masked]>
> 
> 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 <[email-masked]>
> Signed-off-by: Eric Dumazet <[email-masked]>

Thank you for the fix!

LGTM

Acked-by: Paolo Abeni <[email-masked]>

Cheers,

/P