summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern2019-03-28 04:53:49 +0100
committerDavid S. Miller2019-03-29 18:48:03 +0100
commitfaa041a40b9fa64913789fcc0161c7c73161f57e (patch)
tree70dba101146cf25c4c04fc669ea8b24051d9440b /include/net/ip6_fib.h
parentipv4: Create init helper for fib_nh (diff)
downloadkernel-qcow2-linux-faa041a40b9fa64913789fcc0161c7c73161f57e.tar.gz
kernel-qcow2-linux-faa041a40b9fa64913789fcc0161c7c73161f57e.tar.xz
kernel-qcow2-linux-faa041a40b9fa64913789fcc0161c7c73161f57e.zip
ipv4: Create cleanup helper for fib_nh
Move the fib_nh cleanup code from free_fib_info_rcu into a new helper, fib_nh_release. Move classid accounting into fib_nh_release which is called per fib_nh to make accounting symmetrical with fib_nh_init. Export the helper to allow for use with nexthop objects in the future. 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 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions