Article View: linux.kernel.netdev
Article #25206Re: [PATCH net] xen-netfront: unregister the XDP rxq before destroying its page_pool
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 12:00
Date: Tue, 01 Dec 2026 12:00
27 lines
9070 bytes
9070 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Tue, 24 Nov 2026 09:18:06 +0000 you wrote:
> Each receive queue registers its page_pool as the XDP memory model,
> which takes a second reference on the pool. On disconnect,
> xennet_disconnect_backend() calls page_pool_destroy() but never
> unregisters the rxq, so the pool's user count never reaches zero and
> the pool is never released, together with the receive buffers that
> xennet_release_rx_bufs() has just recycled into it. Every
> suspend/resume or backend reconnect therefore leaks one pool per
> receive queue. The pool never begins shutdown, so the page_pool stall
> warning does not fire and the leak is silent.
>
> [...]
Here is the summary with links:
- [net] xen-netfront: unregister the XDP rxq before destroying its page_pool
https://git.kernel.org/netdev/net/c/98a283a1f3d6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179612640599.224468.4845447770690951692.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-374995-linux-kernel-netdev=dewy.ruReferences:
<20261124091806.2736453-1-mark.syms@citrix.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-374995-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] xen-netfront: unregister the XDP rxq before destroying its page_pool Date: Tue, 01 Dec 2026 12:00:05 +0000 Organization: Usenet Network Message-ID: <179612640599.224468.4845447770690951692.git-patchwork-notify@kernel.org> References: <20261124091806.2736453-1-mark.syms@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1703233"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:fBQadew9H1kXXtH6wH6qktAUc4c= sha256:5i/l60kefA/OmVoKUVYS5oE5WxbYTpXWTCdFyiIBum0= sha1:nlqkweOCR1/KbeOGSK7G3jb8png= sha256:B7SQVz5rJZYLq4WOX02orW7x+Ibdg8/FT2RqfIwNFT8= 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 AFE6C117359; Tue, 1 Dec 2026 15:00:34 +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 vr_XHURRYegL; Tue, 1 Dec 2026 15:00:31 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-374995-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 2F9FD117361; Tue, 1 Dec 2026 15:00:22 +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 DEEC626E2B; Tue, 1 Dec 2026 12:00:13 +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=1796126413; b=0HRA6mkGuUoSGBG79XWOW7jO8hTYGosbHnj0UfCWfx+KMpZUSfneNmOXjFGaOdFckQou BkS5GzWNFnQhDXnR9NSkT5cJM6ryxK8faBMueUoNm9BNMaP/G0BZpiofFuMloRL080zUY hEynCcmv3rPSyFY1wLeVyfYhwyqlrgZXzG/PRy9b+sXvKfXapEMwSrcuotP3lz9U90wE7 CLWi2liIm57O5YT8Sj7KtQxmd/nKDO11H4067lxLZUIpGP7ZbA+n8kob5YEaInElWn2xY oaQjAMfKCvxgiF+0qZUAIPCVa0QaEQaZ7Lr23oxwQtJoqUrxy2CIASkvDe55tm4TxMQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796126413; 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=Ks8SFYKYvqilKcQztcm4gRlnRR6QNiuRKVpriPa4Wkk=; b=2n2VKOhTzWr84AZ4JeOUlUBD+VXN7K+wvmiIeYaBw/C66YGOuK4IPcyoJYIShlq8w1kO sFtjayUxZiJy158zKAYGv8PLpK+p2nELBkyVUnn6YLyPFqDvLvdHWaro3t+juGMZl0rHl cHz064q1hDYd7LvK6tp44EiB7NZsoOw+9p5jAH7sp3Q2o2j4CKN7ShlvqkEZ+fEZsVSMx ZfG4tGsE1TrsWiDWfwthh9o4VxGs7d9kM2vooCIz0ex9C0FCXuA2EorOMfWOaJoAmgFy4 07y8vl1dPU2QTyYfYqIaBwO1G1/QZQhnZLrGWno8Ikmx5NvngGqMPlRQVZWFYrWwVTg== 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="EmiWR/mz"; 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 9FCA9606A32F; Tue, 1 Dec 2026 12: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=EmiWR/mz 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=1796126407; b=sNm0HZ8ZFo3Dd43GMGXnjGATv1Unfy0f0JiaQSAnlM+3E2YVgMc7wzTFeuGL4Dg8dKZC g/fSQnuwrhFztSxlyFJhJ4qA7zNzBawVb6BSpGL6QiQbV23aWSuvP95RXW5wtS0Kiidwp 2te5aM8Xa2ulITicYX0YSF/igjiX4/iOJyYq10Zs/56GGWyxyyOLZ5e7gCa4UUJ34zVhl Z075/GkAZmKs/gaUjx+93E6IzddXOP9aiTiLGAzRR3sr4z6zciLD+Ozto4E6IcS/oICTM ett10zD2C1zq5J6ICzYuSoL3/51V1voO0aabH4Pipi6H4jiaar9OZ2NR0LWoODDt6AA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796126407; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Ks8SFYKYvqilKcQztcm4gRlnRR6QNiuRKVpriPa4Wkk=; b=KDT/UJTka1W5Vfdggr/fPtKgy9wSSS+uvje6IP1LjAKed+8GYliboC46YH/LiL9nIsH8 Q/RndJN8dc8wkP/MnQI5csy+2OXIJQknDep3rwpKKQYZtpciUmT+M4H+kTgonVZaz0r6Q e+Tvp4ryuvOnMlPHaPTRuB/AnyTzEJSNiIP1aG/L7HsrmjOkrU1Lhw5jVF7OBmTEa2/4Q jl/fTv+M1nfDB4khcNUKwaW5UZi+wNZrlTRxveHMvE2AKkDe/FD9TkPHoAUlaTEK+du9g IQFJ+aX8q94T1mZbE74UbkbAcNZycOsCboHaih9JHl9dG8FF9VWId1JvB5bU4Cuo5sA== 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="EmiWR/mz"; 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 C02BF606A335; Tue, 1 Dec 2026 12:00:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D2A91F0092A; Tue, 1 Dec 2026 12:00:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796126407; bh=Ks8SFYKYvqilKcQztcm4gRlnRR6QNiuRKVpriPa4Wkk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=EmiWR/mzb5NS8RV2NJj6TF9//WyhPW7WrIaZ26binZI6cjL26WvDh41aGCPl2/rQ3 zdO32Y2c+LZeDCYkOWkqpcmi3QKmegrxgAbVaM1YOaUAjk0zeexqpRmZZ/vKGrFR+X ICZ/mQlTTMvNKUtFLCDU8faiNZsnYAK4HUGj1VheUS1TJFcZs32yfLRmvQPk5LeunT JZKTX5ouggx8pSiAxmLy5nEIHYpKwwzMTfapbHrA9xyMUkxIl0mAztqQKaDpoLY2S3 mQ50kvdiiWek4TWSHREC3ma899ehaiacF2ZIWZ6FapUkLHlclUMFj0P4KywftWGzpD 18wG7LVpSy7Vw== 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 7186638068C0; Tue, 1 Dec 2026 12:00: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: <20261124091806.2736453-1-mark.syms@citrix.com> X-Cc: jgross@suse.com, sstabellini@kernel.org, oleksandr_tyshchenko@epam.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, hawk@kernel.org, ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, sdf@fomichev.me, netdev@vger.kernel.org, xen-devel@lists.xenproject.org, bpf@vger.kernel.org, stable@vger.kernel.org