Re: [PATCH] Provider/rxe: Allocate rxe/ib objs by calloc
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-10-06 08:13:45
Also in:
lkml
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-10-06 08:13:45
Also in:
lkml
On Thu, Sep 30, 2021 at 08:35:27PM +0900, Shunsuke Mie wrote:
Some rxe/ib objects are allocated by malloc() and initialize manually respectively. To prevent a bug caused by memory uninitialization, this patch change to use calloc(). Signed-off-by: Shunsuke Mie <redacted> --- providers/rxe/rxe.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Thanks, applied.