🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24679

Re: [PATCH net] net: reuseport: honour SO_LOCK_FILTER in SO_DETACH_REUSEPORT_BPF

#24679
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 16:10
27 lines
8864 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:

On Sun, 22 Nov 2026 08:17:26 +0000 you wrote:
> From: Suyuan Wang <stevewong@hust.edu.cn>
> 
> SO_LOCK_FILTER lets a process lock the filters on a socket before
> handing it to a less privileged one. Once it is set, the existing attach
> and detach paths reject changes to the socket's BPF filters with -EPERM,
> but SO_DETACH_REUSEPORT_BPF does not check SOCK_FILTER_LOCKED. So an
> unprivileged process that receives a locked socket can still remove the
> reuseport program, which then changes how packets and connections are
> spread over the whole reuseport group.
> 
> [...]

Here is the summary with links:
  - [net] net: reuseport: honour SO_LOCK_FILTER in SO_DETACH_REUSEPORT_BPF
    https://git.kernel.org/netdev/net/c/2b63c96c723c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179605501400.3403811.14566651768406430340.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374302-linux-kernel-netdev=dewy.ru
References: <20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374302-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: reuseport: honour SO_LOCK_FILTER in
 SO_DETACH_REUSEPORT_BPF
Date: Mon, 30 Nov 2026 16:10:14 +0000
Organization: Usenet Network
Message-ID: <179605501400.3403811.14566651768406430340.git-patchwork-notify@kernel.org>
References: <20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1464345"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:35VCxVcQvaqk1tb1O8OgTk1lDH8= sha256:w7/dCc2Eb30xU4T5bxE389V/dTLh3+xPUWmX/RstyPY=
	sha1:eq2YSxKsOuG9NCOhPxdEUmg+Rr4= sha256:pu2tAQK86uBBWK6nyyzlc9/TO6oJZvnvX778UZUgKAA=
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 D567D125FF4; Mon, 30 Nov 2026 19:10:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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]
	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 geUQqFX8RJll;
	Mon, 30 Nov 2026 19:10:33 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-374302-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 5779E125FF5; Mon, 30 Nov 2026 19:10:25 +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 9CBEE2777D; Mon, 30 Nov 2026 16:10:19 +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=1796055016;
	b=aFGhcxbm7YEm9nuE87wAFct09hDx5n6HnHMNghnLtzdbvbi9xM1CS5S7CXMVyeE7gjdF
	 O5BOQZIoWBjNmXWCEQm12AQAV9tCAtwNrx1kkFcXTH4QR1njfu2c1qTZRdO+5qPRZBEK4
	 yI/9dO9p/QFK5c1NN7SCZSI+RsB6lahQAAYRJYKgneVX0k8ry3HGtgkljKIqOOmENAInd
	 pQxuc7ZEieJxJa0RqXjyIObtXYF3+75Y4LoVTDb5wGeGo0WmzqJkLM6hmTZEGguejIsT9
	 /CJ/UeTR2DtKRem6weiiHm5Ls/wps42GI3iwNQxQdAGMyO8ARvPbVNVU1zW6eRY5I3A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796055016;
	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=PXccZAJ+Wt/OMIInyayag8YEE2SXzKFLPLgAMvvmDBE=;
	b=3XLqDwGKN137qpNtlFc6DEzu6JNZuwX1SqoMsDiMQ7KysfDu58LuhQgOAN0jj92Swb1H
	 pH6D41GaTWaDSqOAGSz9P+fdFL+njK1nk7BIlGIlhNHzsUF/nd+c47tGF85RK8fsRUwwL
	 Df89XtY62rWkQc8RSCuX6KsyKGnLMJoEaD6j5CN3mzcXnN9kcIhnKYVA9jEh498vfYpft
	 0SZI6zwb77m/j7lRaCuRaKb2N0lrPFnA9s8ce0cTrMpSDA+55miJuuO7MHibDhbXu+BaM
	 EscF7j0fXrUhngFR9eCDJvBFHDeHlZWgIQ8uXRQgmXx6fnZbXqQaWEaX29w38bMyokg==
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=kzWG2ZVT;
	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 A77F1606A6A9;
	Mon, 30 Nov 2026 16:10: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=kzWG2ZVT
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=1796055015;
	b=mOfInNCmZNHYGAuextlNozycdbwl/QlZK3EggPrAEJGFme4FLPukBETnDdjheMk4wQCC
	 XqG0FVgpQtlIS2C1WXm9suRuv8s/S8+aAUTqmXuHGHASp9ipOKry1ENLuNpbynH6ovWrW
	 QSnbSbh2xlqWoUyqpv/2rTXFrCIdyqFS0ai4GXqjLNjdEZF4yl+FjQd+9SFr2Zmq59IYC
	 Fm0rHc8CiB20UZg8+tjmsNd09obuMDEA375QVeP9vZlBtcBlpjoX5eO57TF1vb+xuio4a
	 Eu8dAvbg2iwsfjk0zcpxct6uGgXihbD2bvL/VH8Bo3Q249YmuAJXWGoAW466oTnTclA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796055015;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=PXccZAJ+Wt/OMIInyayag8YEE2SXzKFLPLgAMvvmDBE=;
	b=d4AqWeyA7rqkA7pjhq8ZxcaLLUChAFPRQVhnTzAAjQPA2fsOmg/5HZA8zHgbTozwEuYM
	 YHhIRy31ZzIB/3Kl2wVd0gMCyFVIeXCi+PjpIISgjYmkp04ODtLOfNJykz2CciuvhcErm
	 FLbvw4MNMoIdsIHelC0h6OtmerL6K5myBzbAiDq1o6dzuGEeLNJmExGemr7sHBh0HATFR
	 Ok89j/YEs5QmW2wSgXUhWqPbM3SdV2YQqc2rX1fgBWxThQavq9Qz22WewY2umZveONRwU
	 wBbQS2ZmSMUnNgnNQZVyrd02U1EQqs0jfOobr1zVjWlDEuAuP8VNFf4VXUc2WfZmnNw==
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=kzWG2ZVT;
	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 BAEE0606A33D;
	Mon, 30 Nov 2026 16:10:15 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A4F91F0089B;
	Mon, 30 Nov 2026 16:10:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796055015;
	bh=PXccZAJ+Wt/OMIInyayag8YEE2SXzKFLPLgAMvvmDBE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=kzWG2ZVTKeB5Ni8w/QoWdP/aLqTBHRrYx1FnVHN71BHlT89s+4GsXgDFvt03yOeJ/
	 3WIDUrBNrqNmkpef0O8YAQZdWKZ8zHh0B0xvZJjmvplYUnDM4akOYe5iPvIeNwtFfv
	 nq2iObLP4q7XB3DZUMx8HkqL8Y79qjROakoq7VxEMAuvNS44NYtuxstPBoWrizrAgW
	 s1wsIZ6LXNa0ZrXV/DuzDt0kFsw7I5vNkLrCY9APr09gazr5KlcKtdJ3R2HRGCkIo6
	 p7LzRMGVzKDTEQ5Y92EgESVP1B0R0ggn9/sOkOdghMetAY392u9UZBcFq8enppz8Af
	 3TeJU6ZLH1jdg==
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 717CB39E4DAB;
	Mon, 30 Nov 2026 16:10:15 +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: <20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com>
X-Cc: pabeni@redhat.com, edumazet@kernel.org, davem@davemloft.net,
 kuba@kernel.org, kuniyu@google.com, willemb@google.com,
 netdev@vger.kernel.org, bpf@vger.kernel.org, martin.lau@linux.dev,
 linux-kernel@vger.kernel.org, horms@kernel.org