[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190607152951.GR31203@kadam>
Date: Fri, 7 Jun 2019 18:29:51 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: David Ahern <dsahern@...il.com>
Cc: David Ahern <dsahern@...nel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] nexthop: off by one in nexthop_mpath_select()
On Fri, Jun 07, 2019 at 08:54:33AM -0600, David Ahern wrote:
> On 6/7/19 7:56 AM, Dan Carpenter wrote:
> > The nhg->nh_entries[] array is allocated in nexthop_grp_alloc() and it
> > has nhg->num_nh elements so this check should be >= instead of >.
> >
> > Fixes: f88d8ea67fbd ("ipv6: Plumb support for nexthop object in a fib6_info")
>
> Wrong fixes. The helper was added by 430a049190de so it should be
>
> Fixes: 430a049190de ("nexthop: Add support for nexthop groups")
>
Sorry, my eyes must have gone squiffy. I don't even know how I got that
wrong. Let me resend.
regards,
dan carpenter
Powered by blists - more mailing lists