From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Boyer, Andrew" Subject: Re: [PATCH 09/15] IB/rxe: Add a runtime check in alloc_index() Date: Mon, 9 Jan 2017 14:35:26 +0000 Message-ID: References: <1483353316.3592.14.camel@sandisk.com> <1483353638.3592.30.camel@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1483353638.3592.30.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Content-Language: en-US Content-ID: <22FAC8CE98031C4192BE05A572A25C60-/m+UfqrgI5Tvk4DGDgVwFwC/G2K4zDHf@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche , "dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" Cc: "monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On 1/2/17, 5:41 AM, "Bart Van Assche" wrote: >Since index values equal to or above 'range' can trigger memory >corruption, complain if index >=3D range. > >Signed-off-by: Bart Van Assche >Cc: Moni Shoua >Cc: Andrew Boyer >--- > drivers/infiniband/sw/rxe/rxe_pool.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Andrew Boyer -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html