diff options
author | David Ahern <dsahern@gmail.com> | 2019-03-28 04:53:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 18:48:04 +0100 |
commit | 979e276ebebd537782797c439c9cb42b6d3aba27 (patch) | |
tree | e1b340126841f37f96730a0e84d9428344612273 /mm/kasan | |
parent | net: Add fib_nh_common and update fib_nh and fib6_nh (diff) | |
download | linux-979e276ebebd537782797c439c9cb42b6d3aba27.tar.xz linux-979e276ebebd537782797c439c9cb42b6d3aba27.zip |
net: Use common nexthop init and release helpers
With fib_nh_common in place, move common initialization and release
code into helpers used by both ipv4 and ipv6. For the moment, the init
is just the lwt encap and the release is both the netdev reference and
the the lwt state reference. More will be added later.
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions