RE: [PATCH rdma-rc 6/7] IB/core: Fix incorrect array allocation

Mark Bloch
2016-06-07T13:56:18Z

> -----Original Message-----
> From: Doug Ledford [mailto:dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org]
> Sent: Tuesday, June 07, 2016 4:46 PM
> To: Mark Bloch <markb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>; Leon Romanovsky
> <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: Re: [PATCH rdma-rc 6/7] IB/core: Fix incorrect array allocation
>
> Nope, you're right. It's fixed now though. with num_counters + 2 and
> kzalloc, the final NULL terminator is in place.

Cool, thank you,

Mark