🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20195

Re: [PATCH net-next 0/4] tap: do not hold RTNL in open(), release() and queue ioctls

#20195
From: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 19:20
32 lines
9101 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 19 Nov 2026 08:22:54 +0100 you wrote:
> Opening or closing a macvtap/ipvtap char device acquires RTNL, as do
> the TUNSETQUEUE and TUNGETIFF ioctls, although they only manipulate
> the list of queues attached to the device, which is private to tap.
> Hosts starting and stopping many virtual machines thus add contention
> on RTNL for no good reason.
> 
> This series protects the queue list with a per-device mutex, and
> stops taking RTNL in these four paths.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] tap: detach queues from the NETDEV_UNREGISTER notifier
    https://git.kernel.org/netdev/net-next/c/5a4431ff4fa7
  - [net-next,2/4] tap: add a mutex to protect queue management
    https://git.kernel.org/netdev/net-next/c/c70849e0b16d
  - [net-next,3/4] tap: do not hold RTNL in open(), release() and queue ioctls
    https://git.kernel.org/netdev/net-next/c/ef7b12deec78
  - [net-next,4/4] tap: remove tap_get_tap_dev() and tap_put_tap_dev()
    https://git.kernel.org/netdev/net-next/c/3d5aa58bec4f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179528880628.1140982.13826508228871085522.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368416-linux-kernel-netdev=dewy.ru
References: <20261119072258.3157902-1-edumazet@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368416-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/4] tap: do not hold RTNL in open(),
 release() and queue ioctls
Date: Sat, 21 Nov 2026 19:20:06 +0000
Organization: Usenet Network
Message-ID: <179528880628.1140982.13826508228871085522.git-patchwork-notify@kernel.org>
References: <20261119072258.3157902-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3474000"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7PkK/hX6PKzufJ/tcdCejvVdaj4= sha256:QulumBGZ68eBXNofEqe/eOmM5WpN6/68s8n1hl9cgF4=
	sha1:j3dYC4yCnzNE0voB30wll1dwOl4= sha256:O4Go6qRiK+FUyqN8FEMWt14Exs0auBKDKZ1T6uIhEYg=
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 E518A115BC1; Sat, 21 Nov 2026 22:20:25 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 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] 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 ITww0yWP5Pvo;
	Sat, 21 Nov 2026 22:20:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368416-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id CF68D115BBB; Sat, 21 Nov 2026 22:20:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 4E75F3A0AA; Sat, 21 Nov 2026 19:20:09 +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=1795288809;
	b=w/kcNmED2Ew/sgp3gT5xBHSiSb8nAh79sYIWb6TIPyhoFxNQBIHbp5CRL/wl+UOA4tQZ
	 e3rgqEeQbcrBMaVUsZcbSKnJjDvAaejAYONcEG+ratH93DVAz/QQ9XGtLublOGuIYaRH+
	 pJfDvhE/qgml7o+BbWQgn6BG6RV6GcR9NijCKlDCW3vcKjLdVDy6LLtM9xwg3H225CklK
	 /aI9Yo6sw5XOzAKJ7ViZdvXeKM7oJH+B3SoSQ/e82rJgjMmasPHsGXsegdJrRB6RdwngU
	 acCy8SxZ4KI/lk3Xx5wXaBYa+3//xwj0jnOHOElXujyuSYAWeWwz6w0tUA4ayNvXeqw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795288809;
	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=YjLQWV/AVBFpwIIU7wjg15hGl+4/0AlNVRiO49kavjk=;
	b=nwC2W3qsEHx2pG51KDH/mpwlrL4pHivilUY+9wQ6fsQapDpL/AhEoKPv4WhBLDspAmzo
	 4kxkym7M6laPOIgj1S7xYYesqTCUjKSQ/R4BMLfxdLqeBVje9SRFpmWkXpU8Qz4OtkErk
	 PAY4Q1q8jX6qOeuhukSSxr/kS/bnj3DjQYi6Ao2lar+Z9u8ck7ozkPybKEQkFPMAU/HLk
	 9uPbWsyxLnEq8MeHzr76UsatuxFbzylG1x+67UUpTWntrU62CV1IKy0GZI1+KG4MtAbn6
	 fkpD0XLcstNtyXNQS1OmB3uHg0dvzWIOIg7te/BDFoGGM/LSBnCd5lTcgnuF8qhSL9Q==
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=RqxDOXMs;
	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 1A0CF606A333;
	Sat, 21 Nov 2026 19:20:09 +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=RqxDOXMs
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=1795288808;
	b=AhptKPFeuykS/7EXOc6qg2iUzfW+52C9na2BUn9J2pgU+5pchrIwUEmLLOL2nRxnPDjp
	 5E2Nbu+y0bs8SpMXxm4Y7cJQnSyQO85kPfUYYzduvcn85BPaVAm8gLGCf0TZ7jKxREqdD
	 /LrK4zWFMSIbZN/CV7ysF/I7p8B6yyrRXb8stR3TRXDf9J+bLX2YuN80dQA2tHOcqZLl0
	 BPN5tUaOjDPTgxetlOHqS2ieV3dmrT6m4DfN/0OJNSXQYS4A9ZBPkW8fRvHb5LSnqvDKB
	 I97uWsrBU+EUyOrc7QjXV3BEMbmvo4N7nIWBD3F3OdDIe5RqUxLIG//8pcm+NVLyvmA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795288808;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=YjLQWV/AVBFpwIIU7wjg15hGl+4/0AlNVRiO49kavjk=;
	b=fLPPubd4JQPPnnq5A4327qtcAuQovKy0D2faAurllLX0c4LzsbOXvXxKAOs72KFNoD16
	 lvh0Fe3h1/PhUw9zwX6bJIZ1LuDTmAy4UesNJqIpTFOizPXCVCBN5CwHMindVHPKjddfJ
	 OoJGeR+bgHOHZl7niDnO5fcYf2BRcyQzodXR5HnAE15ritLlHCR+0dTR2ubhmWcAaXZuS
	 ztFl1rsbPyuqfsJ/hUVoQrr0wPaOkhA63Y0IneM7FMw4UE66Fz1uI/XoJKKK6rDlToMyl
	 FfuIiOoZqhCkSqTfWy22Op/ASRWBbh/YupLVGuWNZ5S45yYTSatiMvCHlb2lcIyzbVA==
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=RqxDOXMs;
	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 3726F606A320
	for <netdev@vger.kernel.org>; Sat, 21 Nov 2026 19:20:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FC531F000C4;
	Sat, 21 Nov 2026 19:20:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795288807;
	bh=YjLQWV/AVBFpwIIU7wjg15hGl+4/0AlNVRiO49kavjk=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=RqxDOXMsKGRHgYgpA2dh0ObbVDYoUzAdgiZJvLlpr1lBzdmiM4u/k2HkojZF76k08
	 2VUILsDORApcdMk45/J2jyf3BsvWbxZ5HE84uFb1Z36MgnumqxrCpl7Mu5QI3FLwkx
	 Otq+m5oWM2coarKKlF3AxcYdZLcI7pzEwpaKaDLMqed35FyHWNtHas7MbwAWyHdbqU
	 7qhwt5nIjDOYMsDgp6UOQZFv6f15ha6aFPiMiCM/AuGxge91V+Q2PhQQLm82dHOQXd
	 bvF5et52gnkgXfcrvjoeOKTKkpAmtKyt0lVFuphK/vnalrshDzbzUgap9hVkd1qY+l
	 xXtQOJrrDidHg==
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 773D9391B06D;
	Sat, 21 Nov 2026 19:20:07 +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: <20261119072258.3157902-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 willemb@google.com, kuniyu@google.com, horms@kernel.org,
 netdev@vger.kernel.org