[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131220041128.GB15958@voom.redhat.com>
Date: Fri, 20 Dec 2013 15:11:28 +1100
From: David Gibson <david@...son.dropbear.id.au>
To: Manish Chopra <manish.chopra@...gic.com>
Cc: Sony Chacko <sony.chacko@...gic.com>,
Rajesh Borundia <rajesh.borundia@...gic.com>,
netdev <netdev@...r.kernel.org>,
"snagarka@...hat.com" <snagarka@...hat.com>,
"tcamuso@...hat.com" <tcamuso@...hat.com>,
"vdasgupt@...hat.com" <vdasgupt@...hat.com>
Subject: Re: [PATCH 1/2] netxen: Correct off-by-one error in bounds check
On Thu, Dec 19, 2013 at 11:51:37AM +0000, Manish Chopra wrote:
> >-----Original Message-----
> >From: David Gibson [mailto:david@...son.dropbear.id.au]
> >Sent: Tuesday, December 17, 2013 10:53 AM
> >To: Manish Chopra; Sony Chacko; Rajesh Borundia
> >Cc: netdev; snagarka@...hat.com; tcamuso@...hat.com;
> >vdasgupt@...hat.com; David Gibson
> >Subject: [PATCH 1/2] netxen: Correct off-by-one error in bounds check
> >
> >After retrieving an Rx buffer index from the hardware, the netxen driver bounds
> >checks it against its array of receive buffers. However in the case of LRO packets,
> >there's an off-by-one error in the check - it uses > instead of the >= it uses for the
> >normal receive path in netxen_process_rcv().
> >
> >Signed-off-by: David Gibson <david@...son.dropbear.id.au>
>
> Acked-by: Manish Chopra <manish.chopra@...gic.com>
>
> Thanks David. This is really a bug fix. You can re-submit this single patch.
Ok, I added the extra fix Jiten suggested and resent.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists