Re: [PATCH v1] nfp: bpf: Use kmemdup_array instead of kmemdup for multiple allocation
From: Simon Horman
Date: Wed Aug 21 2024 - 11:09:38 EST
On Wed, Aug 21, 2024 at 04:14:45PM +0800, Yu Jiaoliang wrote:
> Let the kememdup_array() take care about multiplication and possible
> overflows.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@xxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>