Re: [PATCH][net-next] nexthop: fix incorrect allocation failure on nhg->spare

From: David Miller
Date: Fri May 29 2020 - 20:15:25 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 28 May 2020 15:51:14 +0100

> @@ -1185,7 +1185,7 @@ static struct nexthop *nexthop_create_group(struct net *net,
>
> /* spare group used for removals */
> nhg->spare = nexthop_grp_alloc(num_nh);

I don't even see this line in the current net-next tree nor any references
to ->spare.

What am I missing?