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

2018-01-29 Thread David Miller
From: Wei Wang Date: Fri, 26 Jan 2018 11:40:17 -0800 > From: Wei Wang > > 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

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

2018-01-27 Thread Paolo Abeni
On Fri, 2018-01-26 at 11:40 -0800, Wei Wang wrote: > From: Wei Wang > > 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

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

2018-01-26 Thread Wei Wang
On Fri, Jan 26, 2018 at 12:05 PM, Martin KaFai Lau wrote: > On Fri, Jan 26, 2018 at 11:40:17AM -0800, Wei Wang wrote: >> From: Wei Wang >> >> 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 R

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

2018-01-26 Thread Martin KaFai Lau
On Fri, Jan 26, 2018 at 11:40:17AM -0800, Wei Wang wrote: > From: Wei Wang > > 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 You m