🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16410

Re: [PATCH bpf-next v3 0/8] bpf, sockmap: Restrict iter-context sockmap updates to sockmap iterators

#16410
From: patchwork-bot+netdevbpf
Date: Sat, 14 Nov 2026 18:50
40 lines
10294 bytes
Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Sat, 07 Nov 2026 18:58:22 +0100 you wrote:
> Follow-up to Sashiko's report [1] and the decision to restrict which
> iterator may perform sockmap updates [2]. Series started short: remove
> about-to-be-stale test, restrict updates, add a negative test. Then it
> expanded: mark bpf_iter__sockmap::sk as PTR_TRUSTED, restrict
> bpf_sock_destroy() callers to iter/{tcp,udp}, few little tweaks.
> 
> [1]: https://msgid.link/20260626205814.BAC3C1F000E9@smtp.kernel.org
> [2]: https://msgid.link/87echn2fhd.fsf@cloudflare.com
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/8] selftests/bpf: Remove sockmap update from bpf_iter_unix
    https://git.kernel.org/bpf/bpf/c/271e7fdce958
  - [bpf-next,v3,2/8] bpf, sockmap: Restrict iter-context sockmap updates to iter/sockmap
    https://git.kernel.org/bpf/bpf/c/18f6c47d1097
  - [bpf-next,v3,3/8] selftests/bpf: Add negative test for sockmap update from non-sockmap iter
    https://git.kernel.org/bpf/bpf/c/e16c83fa764f
  - [bpf-next,v3,4/8] bpf, docs: Document BPF_ITER_NOSLEEP
    https://git.kernel.org/bpf/bpf/c/c8d1abec6472
  - [bpf-next,v3,5/8] bpf: Restrict bpf_sock_destroy() to iter/{tcp,udp}
    https://git.kernel.org/bpf/bpf/c/3164b25576aa
  - [bpf-next,v3,6/8] bpf: Mark bpf_iter__sockmap::sk as PTR_TRUSTED
    https://git.kernel.org/bpf/bpf/c/dd6e63efc2be
  - [bpf-next,v3,7/8] selftests/bpf: Add iter/sockmap bpf_sock_destroy() negative test
    https://git.kernel.org/bpf/bpf/c/b7f6028a7bc3
  - [bpf-next,v3,8/8] bpf: Fix "unresolved symbol tcp_request_sock" build error
    https://git.kernel.org/bpf/bpf/c/22bc1ef8ac82

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179468220878.2337414.13541371504623047471.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363414-linux-kernel-netdev=dewy.ru
References: <20261107-sockmap-update-limit-iter-v3-0-7c0bad1ad036@rbox.co>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363414-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH bpf-next v3 0/8] bpf, sockmap: Restrict iter-context
 sockmap updates to sockmap iterators
Date: Sat, 14 Nov 2026 18:50:08 +0000
Organization: Usenet Network
Message-ID: <179468220878.2337414.13541371504623047471.git-patchwork-notify@kernel.org>
References: <20261107-sockmap-update-limit-iter-v3-0-7c0bad1ad036@rbox.co>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1637484"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1mgoEkocwtSIAtYmUYIiWvUKUf4= sha256:BuGRPq/AESg1oxPFHoGOrdBvuZe8bq0/otcvT+ST8p0=
	sha1:v2m8xayPN+3K3uCLIRaHq4mCRXE= sha256:mBNgfFcSCvb1m8E54iX6jS85yMrCspveXSwl6t3XP9c=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B216911489F; Sat, 14 Nov 2026 21:50:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.4
X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id layPb0lidI1J;
	Sat, 14 Nov 2026 21:50:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-363414-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id BF30C114894; Sat, 14 Nov 2026 21:50:40 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id C13353B02E; Sat, 14 Nov 2026 18:50:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794682216;
	b=kelmeF11s4qtOjYtK7E2pIlpbIiDpfVLCB+vtSI8gWg0o13mSWM5J2TihtpoPIF8GmQC
	 3Guv6c5gmGtuIDjAbDLaAYz/cv27pb2C1bWdI+L0hY+E8yqVeqC1jbgHzeGQOGJGW0RpA
	 ovTKVi1m8Ii6yi1du4dh4vsY/OIIv1mxaAvHCXe1ekhTtjNFUh5biby9ETS+rlJY+IiL8
	 eaQ4/myrY5BoYqZkRqbVmhKseYKS80O5edaRqvmJ2PfDWKRPyGOaQyDftuJnj+Viwhh08
	 +gryDs4bvGjSb7DhcDZVD2JIJLd05oAqwXhvuB4sXByJXhKOVkeQ/r6cFaxWG5fkKXQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794682216;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=5I4qyEYssU3zNRO/FO8xvGNwCTadYFMngnpQRP9R7jI=;
	b=ceXkKSMZlA6kwp27aOem5ADaVZLB5LLstIxnSawpiOPL728sN0Wqx70EocUp23MaDf1c
	 AX5Dq4mnhngM9SK9qh1CPCBVjfzkSbwoNKAQ/Sm+e8Xzjcr1KV0VHiMaAUWdD2JbXfQCq
	 AIbK1irNPuoRuN30uH27gUboGPmHaa5HNuY1hD3QH58d0O6DoX49yzAN+0yXAag4l4nH5
	 HBiBek7t7K4niUwSApLpYwqdVmGfIzjaAvJQUlCX1f/kIKJcuXf+cxA0Ye7Wct8BONf9K
	 AdYhsG2eSjvbC5ziAJ1re9/AlUBJD+n4AAf/BPaaklCv7t4BFr0sI8FFXhkUdGj5dGQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HdNmeGhB;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C835606A8A5;
	Sat, 14 Nov 2026 18:50:16 +0000 (UTC)
X-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=HdNmeGhB
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794682210;
	b=ojTmQ47c/z1zflaMIuSjdlEgXpLjt0NJSLHW+54RrbNxmFahz+YF7iT2TK/YnPBW65Da
	 uF9t+FScXreAT3420gtWPRN5ZWu2HDjGzIlJy5/linIijH25FUmz0H8mY+DVYlLeh6LaI
	 KhMwFBWPwnBYmXEBRL8flF/HLEOhNvq4/fuy+c3ekukziXk0FaMUDp6iAUXfAP1EIHkpx
	 S34LQ5mVsPQtQsqCLTD3/rgqzHny0uHqH8ewM2AyDptAC+LxJA+iEK7PxagDeKQby4O5R
	 /FCHw/knymGQvWAAgghBN/ZaSsG1tuRzrnYTQVzaV4VQjTlAkEUAvpw7dCN7ix5nkEg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794682210;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=5I4qyEYssU3zNRO/FO8xvGNwCTadYFMngnpQRP9R7jI=;
	b=iAnL3FALPYOWffkVmzNPsFylWPJOHEWLCW27UqeKeKtdPWHI7Ek7fE4U5tdvf7k3lWTo
	 9ST/aaQUCRNUs8KO2UurzTnyD6miZ2YQX5m8o02EnuFS/RLw0EpoWYJysI7+XNceLh+mt
	 bpyjrv5Ek+5NAdm8q7j0kXa6fspvQBJhB2Ob4Uhkq80J6iuD5Ita+nUZTkVOLcbYqCjN4
	 H1C1WTEPJClhD/0aYfUrLtR2F/bDe0riJmFL81j0iSuNCZ19Sa5uJxR/5qU+U1uzfgiv6
	 UIKYE7s9xKohy1TOAZxXJd2GRK01ONiTreTJAm+uUinLY45rBxybbhkCrup1rm3fwRw==
X-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=HdNmeGhB;
	arc=none smtp.remote-ip=100.103.45.18
X-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 86EF4606A32D;
	Sat, 14 Nov 2026 18:50:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44D3A1F000C4;
	Sat, 14 Nov 2026 18:50:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794682210;
	bh=5I4qyEYssU3zNRO/FO8xvGNwCTadYFMngnpQRP9R7jI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=HdNmeGhBo75ENZCUXLxr5D9wCVO/ni6dZ69ycK+kUU0JqX+1tUgJDUr5FdoKYkdjS
	 8qX18L8s5rFGX/csebiZwqJV3GBsmuoT6f7yUerm7d3r9lucWnAPQmv0klBBKw1Mib
	 7rlLSrZiaxZlLpdx50EH3LAcX+awD31Y+TRgcLvxe161tEOkKNzt+kO6onMSDiN+qa
	 K4h2LHaD+YNDHnG7kUtRdYAiPD4CDozZZWFu4sChYnSRvhqiZUBvyWGVKc9ILvJhYf
	 mdLDkN7FA2YNS9+PV7qSQ3DScG3kCAL7u9iE2rmu/txnOB/bMDhk8IRjbJrDKy3jgq
	 4oAc7Adu4rmew==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A3A4380821F;
	Sat, 14 Nov 2026 18:50:10 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261107-sockmap-update-limit-iter-v3-0-7c0bad1ad036@rbox.co>
X-Cc: 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, shuah@kernel.org, john.fastabend@gmail.com,
 edumazet@kernel.org, kuniyu@google.com, pabeni@redhat.com,
 willemb@google.com, jakub@cloudflare.com, jiayuan.chen@linux.dev,
 davem@davemloft.net, kuba@kernel.org, horms@kernel.org, corbet@lwn.net,
 skhan@linuxfoundation.org, rdunlap@infradead.org, sdf@fomichev.me,
 bpf@vger.kernel.org, linux-kselftest@vger.kernel.org,
 linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
 linux-doc@vger.kernel.org, sashiko-bot@kernel.org