Re: [PATCH net-next 04/13] ipv4: Create cleanup helper for fib_nh
From: Ido Schimmel <hidden>
Date: 2019-03-27 08:17:32
From: Ido Schimmel <hidden>
Date: 2019-03-27 08:17:32
On Tue, Mar 26, 2019 at 08:29:33PM -0700, David Ahern wrote:
From: David Ahern <redacted> 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 <redacted>
Reviewed-by: Ido Schimmel <redacted>