Re: [PATCH 4/6] crypto: af_alg - use sock_kzalloc in alloc_result + accept_parent_nokey

From: Kuniyuki Iwashima

Date: Tue Apr 28 2026 - 16:14:51 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 hash_alloc_result() and hash_accept_parent_nokey().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>

Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>