Article View: linux.kernel.netdev
Article #21108Re: [PATCH net] net: release netpoll dev_lock when NETDEV_PRE_UP vetoes an open
From: patchwork-bot+netdevbpf
Date: Mon, 23 Nov 2026 15:00
Date: Mon, 23 Nov 2026 15:00
24 lines
8652 bytes
8652 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 18 Nov 2026 15:27:44 +0900 you wrote:
> When netpoll is attached to a device, __dev_open() takes
> npinfo->dev_lock through netpoll_poll_disable() before calling the
> NETDEV_PRE_UP notifiers, but returns without releasing it when a
> notifier vetoes the open. The next attempt to open the device then
> sleeps in down() with RTNL held, and every other RTNL user blocks
> behind it.
>
> [...]
Here is the summary with links:
- [net] net: release netpoll dev_lock when NETDEV_PRE_UP vetoes an open
https://git.kernel.org/netdev/net/c/a233b32f1a12
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179544600502.2443681.1409220130904920815.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-369514-linux-kernel-netdev=dewy.ruReferences:
<20261118-netpoll-preup-veto-v1-1-7d3fdf101d3a@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-369514-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: release netpoll dev_lock when NETDEV_PRE_UP vetoes an open Date: Mon, 23 Nov 2026 15:00:05 +0000 Organization: Usenet Network Message-ID: <179544600502.2443681.1409220130904920815.git-patchwork-notify@kernel.org> References: <20261118-netpoll-preup-veto-v1-1-7d3fdf101d3a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3908305"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:8bwU/c2vLUGgayu6YLm7FhVWIBE= sha256:rhVd1zycdkDcrQ4Kn1Xhly23j1LUJub2u365FhkHxLs= sha1:gXBwbkRm3jtlpWFb7/bR380CyOw= sha256:PzymKyaX9fdkhcBJu4Zr4B/BEVGMVTShZD4BjndtUoQ= 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 3BF17125DBC; Mon, 23 Nov 2026 18:01:19 +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 eNNg_GCcNXhL; Mon, 23 Nov 2026 18:01:13 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-369514-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 E19BB125DBA; Mon, 23 Nov 2026 18:01:04 +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 73B27332CA; Mon, 23 Nov 2026 15:00:21 +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=1795446013; b=4aqZPXev1wWlST4Kx7PPnmE06pv31sA4R5SgA6ImWYine296g2gz2c9n1z2unFXfvkoG pP0+/oKddtiMQPBZVkTUf6bKoN403yvwyu5n+I12jZRgPOhCZ0w4mhGtzK797EI1d2g1I LMMm+FZg2WwGLMLd8VfU0UqRVFxjCyl+4Ytw5oiJ12cU6hX03eonDzsrnIUGel4LfD1xh E+z2UGDbVx70Y0gYrDFW9sJh2onHOFMgOlpaNJAoUMwnt0LFhPKO+ah1dAw9AighLO3D4 iK8Chl5ZLFIVCZu7Oavq4l3auxg+L45Wg1rgUZLbBuzHGbmHKWQuPPqhbuk2seVvbrw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795446013; 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=H6E/jkmzLyWVvfOAsLO4im6SCcZEX4bZlh8TxnnXRC4=; b=pM2pP27NPrG2Mpz2CmC2zp+d1HaxjUSAw0/Mdfj4BHv/pbH79auAr0QhEBqkuLvxAAAU u2WY//rX1qtSh5/fS2XMCcWJib+DvRC7ki8IeBPsNXVMgQmJ1u64qNPcy2+0lrQz2ZOlv 2mD6cv++AyNB9SIymTa8MIdsgCCCHiPUm3iMgWGf0dV2kdyNhb76FnMFJnNOhwzsfynPh w0ob2FECeVAEBVIKoa9udLRjai+to0xRVJ5WP4iya16VUtsmMnRZgscp2FIhf5ThdqEcf dnCc9LCPXOzJEnbyxhBkcdWpDATirpiGnX8sc7EnsjZvohRgy6jwLFh8b1Ce4F2O2AQ== 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=R60Fl+tY; 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 6171C606A69A; Mon, 23 Nov 2026 15:00:13 +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=R60Fl+tY 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=1795446007; b=e2RrEfODueod9b76blTL68AfS7hZr+ncFO2aciBs1Mt+l27HXZBFfucrjMFqZ9c020Aw KqJUqlQhviOUsBQySzS87U4VyLoKnWPapkTT7JMjy111GaR6054TXEqnszILIJxyvfsQR ZrjvfmW9vses2Wdpzqhw1w0YR+WhcP+XCZK3aAn9t96V3di1wTA/HoAfpsxzUofahWNzh 4vvK7QdK2oMIrhHnC1XKy8tl8SF8QL2fJxJSnikGPAtJOY0vU1Ugq9cXZyTyNwI5BLae8 i11FaV2fkXVHc9a9ub0P1yKpF35Zf25i1Bcw5zoQfAs6nNrVicrdWnuKgInza92QBmQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795446007; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=H6E/jkmzLyWVvfOAsLO4im6SCcZEX4bZlh8TxnnXRC4=; b=tYV9btcpEmudJSHWxARTUCZbLp5PToiOMXz5xkVkysygBkUzMyzpSzVsgFXVxOtwlaHQ gYWX89dVrgI1WZM8DZtvnhaknTWvY/0nJywoKMEPLRZd9m68eaLdVN451V/vMTHnvAL0t WGdD2B0+mOkt5XCcVFeF1XLL5E6AuKtJJc9ViRXdyqp0C1jJq8Uo9NS+99KpP3Jj/TbY7 FWRXwaD4SLP9SWefg875yY+W5G2C68n8+HuMTMoBUyBwj0wfSlRbFD1BznxqTbwZyEvhY ybjI3ZsT4aU3jd3D5kLlmXHayS6adwV3WgHosjLl6x9P9xKlaRl7v66pa98FQreN2DA== 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=R60Fl+tY; 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 7D16F606A32D; Mon, 23 Nov 2026 15:00:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8445E1F000D0; Mon, 23 Nov 2026 15:00:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795446006; bh=H6E/jkmzLyWVvfOAsLO4im6SCcZEX4bZlh8TxnnXRC4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=R60Fl+tYwITgqYgBPe4X4nnK1kWkFZuB/vkyYtTLO2LhSWW0IcPfYKf+FqL9vTv8B QSK4Ht39YCfTW5e5uXso4Qeyx9gojDxNP1cQhekEmV2AmRvlAK4qCqKOXsaW6+dSAP VDnD0yCFWfOcxwmsa04f/+TPUrEOVLcN8huZUvMaSLSunfs12OWpBVqAqCTyjpF7D/ Uako3MFoYx0TfkAWYQZUukw+FRIh5cS8fu6ZN5tVgCfgfkiN8c+Rbz+0OX0rz2IErP Sb52rVDzGRYHHanyhEoLZynEYGUzcLBpdeUWbO2Kd430ENR/+OexAps3JRKe5Kfruu DmcbBye5VXohQ== 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 7749C392EDBC; Mon, 23 Nov 2026 15:00:06 +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: <20261118-netpoll-preup-veto-v1-1-7d3fdf101d3a@gmail.com> X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, nhorman@tuxdriver.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org