mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
nexthop: Rename nexthop_free_mpath
nexthop_free_mpath really should be nexthop_free_group. Rename it. Signed-off-by: David Ahern <dsahern@kernel.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
4915a40437
commit
5d1f0f09b5
@ -209,7 +209,7 @@ static void nexthop_devhash_add(struct net *net, struct nh_info *nhi)
|
||||
hlist_add_head(&nhi->dev_hash, head);
|
||||
}
|
||||
|
||||
static void nexthop_free_mpath(struct nexthop *nh)
|
||||
static void nexthop_free_group(struct nexthop *nh)
|
||||
{
|
||||
struct nh_group *nhg;
|
||||
int i;
|
||||
@ -249,7 +249,7 @@ void nexthop_free_rcu(struct rcu_head *head)
|
||||
struct nexthop *nh = container_of(head, struct nexthop, rcu);
|
||||
|
||||
if (nh->is_group)
|
||||
nexthop_free_mpath(nh);
|
||||
nexthop_free_group(nh);
|
||||
else
|
||||
nexthop_free_single(nh);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user