Re: [PATCH 2/6] crypto: af_alg - use sock_kzalloc in af_alg_alloc_areq
From: Kuniyuki Iwashima
Date: Tue Apr 28 2026 - 16:13:27 EST
On Mon, Apr 27, 2026 at 3:43 AM Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
>
> Replace sock_kmalloc() followed by memset(0) with sock_kzalloc() to
> simplify af_alg_alloc_areq().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>