Re: [PATCH v3 net-next 2/3] ipv4: Pass fib_nh_common to rt_cache_route

2019-04-29 Thread Ido Schimmel
On Mon, Apr 29, 2019 at 09:16:18AM -0700, David Ahern wrote: > From: David Ahern > > Now that the cached routes are in fib_nh_common, pass it to > rt_cache_route and simplify its callers. For rt_set_nexthop, > the tclassid becomes the last user of fib_nh so move the > container of under the #ifde

[PATCH v3 net-next 2/3] ipv4: Pass fib_nh_common to rt_cache_route

2019-04-29 Thread David Ahern
From: David Ahern Now that the cached routes are in fib_nh_common, pass it to rt_cache_route and simplify its callers. For rt_set_nexthop, the tclassid becomes the last user of fib_nh so move the container of under the #ifdef CONFIG_IP_ROUTE_CLASSID. Signed-off-by: David Ahern --- net/ipv4/rou