Commit 15e1dd57 authored by Petr Machata's avatar Petr Machata Committed by David S. Miller
Browse files

nexthop: Enable resilient next-hop groups



Now that all the code is in place, stop rejecting requests to create
resilient next-hop groups.

Signed-off-by: default avatarPetr Machata <petrm@nvidia.com>
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0b4818aa
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2443,10 +2443,6 @@ static struct nexthop *nexthop_create_group(struct net *net,
	} else if (cfg->nh_grp_type == NEXTHOP_GRP_TYPE_RES) {
		struct nh_res_table *res_table;

		/* Bounce resilient groups for now. */
		err = -EINVAL;
		goto out_no_nh;

		res_table = nexthop_res_table_alloc(net, cfg->nh_id, cfg);
		if (!res_table) {
			err = -ENOMEM;