diff options
author | David Ahern <dsahern@gmail.com> | 2019-04-30 07:45:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-05 00:47:16 -0700 |
commit | 0f457a36626fa94026e483836fbf29e451434567 (patch) | |
tree | a4b83b7fd319fa38684689a82036998976b489c3 /net/kcm | |
parent | a734d1f4c2fc962ef4daa179e216df84a8ec5f84 (diff) | |
download | linux-0f457a36626fa94026e483836fbf29e451434567.tar.gz linux-0f457a36626fa94026e483836fbf29e451434567.tar.bz2 linux-0f457a36626fa94026e483836fbf29e451434567.zip |
ipv4: Move cached routes to fib_nh_common
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 cached entries is moved to fib_nh_common_init,
and free is moved to fib_nh_common_release.
Change in location only, from fib_nh up to fib_nh_common; no functional
change intended.
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions