Re: [PATCH net] ipv4: fix fnhe usage by non-cached routes

2018-05-02 Thread Julian Anastasov
Hello, On Wed, 2 May 2018, David Ahern wrote: > On 5/2/18 12:41 AM, Julian Anastasov wrote: > > Allow some non-cached routes to use non-expired fnhe: > > > > 1. ip_del_fnhe: moved above and now called by find_exception. > > The 4.5+ commit deed49df7390 expires fnhe only when caching > >

Re: [PATCH net] ipv4: fix fnhe usage by non-cached routes

2018-05-02 Thread David Miller
From: Julian Anastasov Date: Wed, 2 May 2018 09:41:19 +0300 > Allow some non-cached routes to use non-expired fnhe: > > 1. ip_del_fnhe: moved above and now called by find_exception. > The 4.5+ commit deed49df7390 expires fnhe only when caching > routes. Change that to: > > 1.1. use fnhe for no

Re: [PATCH net] ipv4: fix fnhe usage by non-cached routes

2018-05-02 Thread David Ahern
On 5/2/18 12:41 AM, Julian Anastasov wrote: > Allow some non-cached routes to use non-expired fnhe: > > 1. ip_del_fnhe: moved above and now called by find_exception. > The 4.5+ commit deed49df7390 expires fnhe only when caching > routes. Change that to: > > 1.1. use fnhe for non-cached local outp

Re: [PATCH net] ipv4: fix fnhe usage by non-cached routes

2018-05-02 Thread David Miller
From: Julian Anastasov Date: Wed, 2 May 2018 09:41:19 +0300 > Allow some non-cached routes to use non-expired fnhe: ... > Fixes: 839da4d98960 ("net: ipv4: set orig_oif based on fib result for local > traffic") > Fixes: d6d5e999e5df ("route: do not cache fib route info on local routes with > o

[PATCH net] ipv4: fix fnhe usage by non-cached routes

2018-05-01 Thread Julian Anastasov
Allow some non-cached routes to use non-expired fnhe: 1. ip_del_fnhe: moved above and now called by find_exception. The 4.5+ commit deed49df7390 expires fnhe only when caching routes. Change that to: 1.1. use fnhe for non-cached local output routes, with the help from (2) 1.2. allow __mkroute_in