From: patchwork-bot+netdevbpf@kernel.org
To: Shihuang Liu <shlomojune6@gmail.com>
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, ast@kernel.org,
daniel@iogearbox.net, andrii@kernel.org, eddyz87@gmail.com,
memxor@gmail.com, martin.lau@linux.dev, song@kernel.org,
yonghong.song@linux.dev, jolsa@kernel.org, emil@etsalapatis.com,
ihor.solodrai@linux.dev, kuba@kernel.org, qmo@kernel.org
Subject: Re: [PATCH bpf-next v2 1/2] bpf: Reject offloaded maps as map-in-map inner maps
Date: Tue, 01 Dec 2026 05:30:04 +0000 [thread overview]
Message-ID: <179610300479.21192.18178203665458795202.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261118161632.177820-1-shlomojune6@gmail.com>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Thu, 19 Nov 2026 00:16:31 +0800 you wrote:
> Offloaded ARRAY/HASH maps share map_type with the software maps but use
> bpf_map_offload_ops and a different object layout. bpf_map_meta_equal()
> compares map_type, key/value size, flags and the btf record only, so an
> offloaded map can be inserted into an outer map created from a software
> template. The verifier and JIT then use the software layout on the
> offloaded object: an ARRAY lookup writes to bpf_offloaded_map.dev_priv
> and a HASH lookup reads bpf_htab fields past the 320-byte allocation.
> An offloaded map used as inner_map_fd is accepted too and leads to a
> NULL map_lookup_elem call.
>
> [...]
Here is the summary with links:
- [bpf-next,v2,1/2] bpf: Reject offloaded maps as map-in-map inner maps
https://git.kernel.org/bpf/bpf-next/c/27ab6f2933c0
- [bpf-next,v2,2/2] bpf: Reject maps without iter_seq_info in bpf_iter_attach_map
https://git.kernel.org/bpf/bpf-next/c/f3789ae7e900
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-12-01 5:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 16:16 [PATCH bpf-next v2 1/2] bpf: Reject offloaded maps as map-in-map inner maps Shihuang Liu
2026-11-18 16:16 ` [PATCH bpf-next v2 2/2] bpf: Reject maps without iter_seq_info in bpf_iter_attach_map Shihuang Liu
2026-12-01 5:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179610300479.21192.18178203665458795202.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=emil@etsalapatis.com \
--cc=ihor.solodrai@linux.dev \
--cc=jolsa@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=qmo@kernel.org \
--cc=shlomojune6@gmail.com \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.