Re: [PATCH net-next v1] netfilter: Use kmemdup_array instead of kmemdup for multiple allocation

From: Pablo Neira Ayuso
Date: Tue Sep 03 2024 - 04:48:22 EST


On Mon, Aug 26, 2024 at 11:41:36AM +0800, Yan Zhen wrote:
> When we are allocating an array, using kmemdup_array() to take care about
> multiplication and possible overflows.
>
> Also it makes auditing the code easier.

Applied, thanks