[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP01T74yJD508cSUtb4pFpuj0M8AM+t-sbxE8BE9Wt7zj4gHmg@mail.gmail.com>
Date: Wed, 15 May 2024 17:25:03 +0200
From: Kumar Kartikeya Dwivedi <memxor@...il.com>
To: Andrii Nakryiko <andrii@...nel.org>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, martin.lau@...nel.org, torvalds@...ux-foundation.org,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next 1/2] bpf: save extended inner map info for percpu
array maps as well
On Wed, 15 May 2024 at 08:24, Andrii Nakryiko <andrii@...nel.org> wrote:
>
> ARRAY_OF_MAPS and HASH_OF_MAPS map types have special logic to save
> a few extra fields required for correct operations of ARRAY maps, when
> they are used as inner maps. PERCPU_ARRAY maps have similar
> requirements as they now support generating inline element lookup
> logic. So make sure that both classes of maps are handled correctly.
>
> Reported-by: Jakub Kicinski <kuba@...nel.org>
> Fixes: db69718b8efa ("bpf: inline bpf_map_lookup_elem() for PERCPU_ARRAY maps")
> Signed-off-by: Andrii Nakryiko <andrii@...nel.org>
> ---
Acked-by: Kumar Kartikeya Dwivedi <memxor@...il.com>
Powered by blists - more mailing lists