From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796103006; b=UGFHTVbjN+fvjTADwiC5mZh07155Zrer2prViEDaPCK+KhOhP7yXx9jphZ9A3e/WtITa 0wybGXpM4MP6PhyC6B/lk2iUjphA/GpyZBZLGt/QfweMz8c7k6Cl2z31lIKYzegLbwni0 vpRf7T58Qa17K+XTTpE+ZsftmEcEyhvY480Z3sQvFC1ZQc52poC5+ybOTbgIvu/feLHYC WGG2JeDyE5w0ziVnguWgB4AVsIuKLCQJEXwbKlnGJDGzV7NC7U3BLHeTwDgH7ShcboMBK NZ1TivUcU7zTGOIfvMStIkwuIGOY/Z2Jt04OjwFctpp6dI+vlLSS48jzdQ8liPFLQAQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796103006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=6fQkOCnWCzZpZNDWUoC1uQzzqgtz7BLIcmohrHayAKs=; b=lb4+3fxaKyR3MwXjtglJiHT4jSYXJjy906Qs4jqrdmOaHLg5xjrL8i9nt9dLwGk66W/k 5RaCoHLE4NAmJfAyXkimUYoWePYlvgkRXkq5dFJUiS+NN20e151kRE2vRtiRsxROHRTDj cfAFN56LBPZmybXmiUxHGmgGItMvpZYmfnowSCgB8Fi8jdV1emYif6E2cxYVY/6lUdR/A UZhvnM/mge6zywmpIngo6tlOtFOzNZMVXcz5mV3Qb3oJJzmiJ3DPK4MC8nS1jSrckKFYK i1eLKvUL9wRg6I+szs3yuAcnpxEoFDCccLvwM19AY0VES6V4vDORAErdKjOObZsratA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JmS4anbZ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACF77606A327; Tue, 1 Dec 2026 05:30:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JmS4anbZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E7D81F00893; Tue, 1 Dec 2026 05:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796103006; bh=6fQkOCnWCzZpZNDWUoC1uQzzqgtz7BLIcmohrHayAKs=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=JmS4anbZcanX/7QOyKQLrZdPFCC1d54Wp/tm0qH5WGzvCTwxBpnsIUZ41o/atxHAG KH4VPk2bPuJ3iwGBCCGPdyhoKC8Bq6JGdRuNBJ5Ti7trlaP1lCJdz/2w2K4Y4bCnkQ M8/o1Z7OicHU6kzyvpHJehwcPfMgCWmV2NvOcAfsYBUIjht6i5wbhnLD6zKYMq4qQL mi07HESinoueokTe/vSMPJ6g8rMjinEtIvOz2BfopA0q3W/r9r6/bcsESY3MFEdVnH Yp6ERHYWq4q26+oNpQzoqLMyQcvhZ1S1e2pV5zABpmhsWf5jSLiMx8I8688p6ELnh1 idh77D5gyATyA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3496B38068C0; Tue, 1 Dec 2026 05:30:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2 1/2] bpf: Reject offloaded maps as map-in-map inner maps From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179610300479.21192.18178203665458795202.git-patchwork-notify@kernel.org> Date: Tue, 01 Dec 2026 05:30:04 +0000 References: <20261118161632.177820-1-shlomojune6@gmail.com> In-Reply-To: <20261118161632.177820-1-shlomojune6@gmail.com> To: Shihuang Liu 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 Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : 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