From: Petr Machata Date: Thu, 11 Mar 2021 18:03:25 +0000 (+0100) Subject: nexthop: Enable resilient next-hop groups X-Git-Tag: v5.15~1236^2~581^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15e1dd570306680269a4738d8e6c721f0924aa03;p=platform%2Fkernel%2Flinux-starfive.git 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: Petr Machata Reviewed-by: Ido Schimmel Reviewed-by: David Ahern Signed-off-by: David S. Miller --- diff --git a/net/ipv4/nexthop.c b/net/ipv4/nexthop.c index 015a47e8163a..f09fe3a5608f 100644 --- a/net/ipv4/nexthop.c +++ b/net/ipv4/nexthop.c @@ -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;