Re: [PATCH v4 net-next 1/3] ipv4: Move cached routes to fib_nh_common

2019-04-30 Thread Ido Schimmel
On Tue, Apr 30, 2019 at 07:45:48AM -0700, David Ahern wrote: > From: David Ahern > > While the cached routes, nh_pcpu_rth_output and nh_rth_input, are IPv4 > specific, a later patch wants to make them accessible for IPv6 nexthops > with IPv4 routes using a fib6_nh. Move the cached routes from fib

[PATCH v4 net-next 1/3] ipv4: Move cached routes to fib_nh_common

2019-04-30 Thread David Ahern
From: David Ahern While the cached routes, nh_pcpu_rth_output and nh_rth_input, are IPv4 specific, a later patch wants to make them accessible for IPv6 nexthops with IPv4 routes using a fib6_nh. Move the cached routes from fib_nh to fib_nh_common and update references. Initialization of the cach