Re: [PATCH v1] bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
From: Lin Ma
Date: Mon Jul 24 2023 - 20:13:05 EST
Hi Jakub,
>
> You can move this check earlier, when the attributes are getting
> counted. That way we can avoid the alloc/free on error.
Good point, will fix that and prepare another patch
Thanks
Lin