Re: [PATCH net-next v2 2/2] ipv6: remove from fib tree aged out RTF_CACHE dst

2017-10-18 Thread Martin KaFai Lau
On Wed, Oct 18, 2017 at 08:23:32PM +, Paolo Abeni wrote: > The commit 2b760fcf5cfb ("ipv6: hook up exception table to store > dst cache") partially reverted 1e2ea8ad37be ("ipv6: set > dst.obsolete when a cached route has expired"). > > As a result, RTF_CACHE dst referenced outside the fib tree

[PATCH net-next v2 2/2] ipv6: remove from fib tree aged out RTF_CACHE dst

2017-10-18 Thread Paolo Abeni
The commit 2b760fcf5cfb ("ipv6: hook up exception table to store dst cache") partially reverted 1e2ea8ad37be ("ipv6: set dst.obsolete when a cached route has expired"). As a result, RTF_CACHE dst referenced outside the fib tree will not be removed until the next sernum change; dst_check() does not