Re: [PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

From: Christophe Jaillet
Date: Mon May 14 2018 - 15:37:50 EST


Le 14/05/2018 Ã 20:56, David Miller a ÃcritÂ:
From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Sat, 12 May 2018 19:09:25 +0200

'out' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Saeed, I assume I will see this in one of your forthcoming pull
requests.

Thanks.


I've send a v2 with additional 'kvfree()' fixes.

CJ