commit | 87063a1fa66740302f08add95ad3d4d316376bef | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Apr 30 07:45:49 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 05 00:47:16 2019 -0700 |
tree | 2d219cb64fec51eded714aa297d1fd37a5e146e6 | |
parent | 0f457a36626fa94026e483836fbf29e451434567 [diff] |
ipv4: Pass fib_nh_common to rt_cache_route 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 <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>