Re: [PATCH] bpf: hashtab: fix 32-bit overflow in memory usage calculation

From: Yafang Shao

Date: Fri Nov 07 2025 - 02:43:20 EST


On Fri, Nov 7, 2025 at 2:58 PM Алексей Сафин <a.safin@xxxxxxx> wrote:
>
> Yes, that looks even better to me. Changing value_size to u64 at declaration
> makes the arithmetic safe everywhere and keeps the code cleaner.
>
> I agree with this version.
>
> Should I prepare a v2 patch with this modification, or will you take it
> from here?

Pls send a v2

--
Regards
Yafang