[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180129.142305.76893465926301867.davem@davemloft.net>
Date: Mon, 29 Jan 2018 14:23:05 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: weiwan@...gle.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, kafai@...com,
pabeni@...hat.com
Subject: Re: [PATCH net] ipv6: change route cache aging logic
From: Wei Wang <weiwan@...gle.com>
Date: Fri, 26 Jan 2018 11:40:17 -0800
> 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>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists