🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21947

linux-next: build failure after merge of the net-next tree

#21947
From: Mark Brown
Date: Tue, 24 Nov 2026 16:29
96 lines
10271 bytes
--M84+XN09hS7xgber
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the net-next tree, today's linux-next build
(arm64 defconfig) failed like this:

/tmp/next/build/drivers/net/tun.c: In function 'tun_get_user':
/tmp/next/build/drivers/net/tun.c:1881:37: error: 'struct ubuf_info' has no=
 member named 'ops'
 1881 |                                 uarg->ops->complete(NULL, uarg, fal=
se);
      |                                     ^~

Caused by commit

   ecca9bb2c855a (net: skbuff: replace ubuf_info ops ptr with type id)

interacting with

   3896ae4adf5ff (tun: complete the zerocopy buffer of packets consumed by =
XDP)

=66rom the net tree.  I have applied Sasha's fix (see below) and can carry
as needed. =20

=46rom 1f0a8fbb8fcddcb0502b33987a53ed883aafb90c Mon Sep 17 00:00:00 2001
=46rom: Sasha Levin <sashal@kernel.org>
Date: Tue, 24 Nov 2026 09:56:49 -0500
Subject: [PATCH] linux-next: semantic conflict between the net and net-next
 trees

Hi Mark,

The current net tree has a semantic conflict with the net-next tree
that breaks the build:

  drivers/net/tun.c:1881:11: error: no member named 'ops' in 'struct ubuf_i=
nfo'

3896ae4adf5f ("tun: complete the zerocopy buffer of packets consumed by
XDP") in the net tree calls uarg->ops->complete() in tun_get_user(), and
ecca9bb2c855 ("net: skbuff: replace ubuf_info ops ptr with type id") in
the net-next tree removes ubuf_info::ops. The fix uses
net_zcopy_complete(), as ecca9bb2c855 does for the same call later in
tun_get_user():

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/net/tun.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 84e2d0f24b417..f3735bf3819f3 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1875,11 +1875,8 @@ static ssize_t tun_get_user(struct tun_struct *tun, =
struct tun_file *tfile,
 			goto drop;
 		if (!skb) {
 			/* consumed by XDP, after copying */
-			if (msg_control) {
-				struct ubuf_info *uarg =3D msg_control;
-
-				uarg->ops->complete(NULL, uarg, false);
-			}
+			if (msg_control)
+				net_zcopy_complete(NULL, msg_control, false);
 			return total_len;
 		}
 	} else {
--=20
2.47.3


--M84+XN09hS7xgber
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmsFu2kACgkQJNaLcl1U
h9Dxbwf/QrnMGp5a8Z+zZgxyUxldzWsN8v0VMTw1aIHEMEketLslrYwqGMCj8Doi
pYa57mAkmAjGVEPqMJYVmoLl1M3mOMpoIQ8QWjchfg2KSdy504OTkw7bl60DM9HU
qmi8BebLYxsv8+wuiOa7m3U9SMzHBEShtq8+cYBaoEOZnnl4AJN75AWr/vBo4KSb
Syg5uGiZnUDfJXR3EKkDlY/Qv35mvh3Vh7tHXdlDRE0KZw77KEszd+0QK4jIl3z6
GElxYVMxqbk+2cnSwjm7zB2sYT8tcirkLy896EO3wyArjzPBoc11yiwOTKwNvgYK
PdBRozVofY1A/j+88JKz16HpDo36vQ==
=YcMj
-----END PGP SIGNATURE-----

--M84+XN09hS7xgber--
Technical Details
Message-ID: <awW7asWvY4vQFkNd@sirena.org.uk>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370574-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370574-linux-kernel-netdev=dewy.ru
From: broonie@kernel.org (Mark Brown)
Newsgroups: linux.kernel.netdev
Subject: linux-next: build failure after merge of the net-next tree
Date: Tue, 24 Nov 2026 16:29:30 +0000
Organization: Usenet Network
Message-ID: <awW7asWvY4vQFkNd@sirena.org.uk>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M84+XN09hS7xgber"
Injection-Info: usenet.network; logging-data="4180369"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+3hWlwL/ta5tSrJNMbraI9qxFr4= sha256:RrRbNVTYH3eILD22p75ftbT8J+DFPsRHejhZVjS6cXQ= sha1:Sclw4d0Aux1eX22E1/tK5Kju/q8= sha256:TT7l7UM2XW2eCzNL1YFC9JLw1V54EdP8VtE4Qh+22ic=
Content-Disposition: inline
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 26552125E2B; Tue, 24 Nov 2026 19:29:49 +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 TBxX7-Ay3UMQ; Tue, 24 Nov 2026 19:29:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370574-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 C8A8B125E2A; Tue, 24 Nov 2026 19:29:37 +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 0D7BB319DD; Tue, 24 Nov 2026 16:29:36 +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=1795537775; b=XVAJmTTZ//42/jzTcYIHRZTnbjbky9bC5gCcyp4O02zXdHz/yZOhvafH3FGgED9k30ks b+FBIbqTa9YidCYIVaM1gBekfFB1IQ21D+GyOcrT/hVUraOJEK3p+vRWfIOQ6M9AT9Q0h 5FYddtpPjVIU9L+3UZTBfFHrJB/BGEwIlaJ1Pp8Mtj1/5snOPXYKgMqQCCU5LO0YThf7K YrRwrIT3nPn4S3dMewJijBkFWh/ZiZQ54fmd5sVuB3oUzHlfD6Bkjw0dOGfSTdAmGSSji jSI8zGIEpahG8qTZBNp688hQA9MHOBOr5HNa/xGyBzgcw159XJwtdALhLmVfv1dNR0A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795537775; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Disposition; bh=tWySwmkRBU/RwVT/X9/RQW6df9RVZygUwLk/9sFD2/E=; b=Puc28R0lRoW8e5pf9nIU1WukSeqggpfIfqOGnoRSkyeZpCh8hlX8KDuTn+edL77uZTJe yAyIfLwJzevJnaLuVizKyqAwlxTBoecJsD98nPa5e2kcg0DEtKLZocChuU4D0ylhOGofT F2/yipU89ii6wFIx3CqIZdyzogehJScBUgNxgzVIgiMkEAlSqoB344Iqx0CCjDBL7x8vU VvxbOfnYiIr1yRhUF88MP6OtN6W0nBvhpV7Gb0RPf0YlJ7luNMUqIMHfd67+ygrECN/2x Yo2kkJpZnfBx1/H9Ezr0ZZZG8IXCAsIk4+x5MSTWhRpNUaBWyN5yW2M88AebHtuO0og==
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="QtC/qqyD"; 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 C44B5606A32D; Tue, 24 Nov 2026 16:29:35 +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=QtC/qqyD
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=1795537775; b=HL5NRLWsBkSziGjsjM0ykkJUXWYxNHhF6TQVMUMeTbinPu7I3u/tQIqtWdIU02M7rYrc lcmLnkcLEfGt/GPHXaOKrGd8dSbolglAHgp0AzRjSQ2TVlRx63wiMBM6muH0R7xZ5G7r8 kDYXbPn0LLDUS37gcpjpdMCiT6W8KL9DLweoxJ1SOavmtSg75MvaFSfA7a18bhiDYDuCS GAktebPZiYYzwOg6hLD16O56XlV69NYoJEWsoDnXnpzZPrK8Rn3m+J1P9Oc48mpN4BClM YQklkt2pL0ZVp59eJt9BoethI2IfzVjM6q4jSjDpMNbybbaCv9j2iHHi+h2qt72rxYA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795537775; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=tWySwmkRBU/RwVT/X9/RQW6df9RVZygUwLk/9sFD2/E=; b=f5YYQgxH6RTgXTZ1O82UxKgxpS0I8ToMSdGuQpPT4X+4zLZgtz9ALGLLmUyY1dfXLRvZ 4lOrY03h67nioh5ozx5fvxk1s6n8ZZS0kJhA10D4ftM2FKQUYZGEOAyvGB6ORgd5G7yEr +kUCo77t9daMHtE0ARSTxOXsHXCGHGC3XB5TYu/AX449Mz4lHY5dva0/GxpSsKaKwxk1T HE7WEYM6G7YpHa0XH45xuqhn/NsI2ir/0z8XzeophLyRxWUyZJ9P9g0IoGlYqCQjEpUnr KSB1zdx0FTTEdgbktLVZsAowtjuKR/l277Y5ZwOTcEi7G6sVBpawBAW3lcQXEyc4P5g==
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="QtC/qqyD"; 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 E0704606A31E; Tue, 24 Nov 2026 16:29:34 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C2A61F000C4; Tue, 24 Nov 2026 16:29:32 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795537774; bh=tWySwmkRBU/RwVT/X9/RQW6df9RVZygUwLk/9sFD2/E=; h=Date:From:To:Cc:Subject; b=QtC/qqyDEQukEwEYwUkkxpyDw+cnyxJkVGXo1Nr/QNcUZ5nc6N1CpSc3cRhS6lAKN Bw3Bv+4GiedsFR+k9Y259AyPaXC37UiXgHrpS7phwKOHKxX96ezUOdWAo2dCsnuXRG J+AuBGXhdIGaeZEkVeDdX89o87S8RvGKFvRjlwKfvrooipx7P0bJJ6q5pBOBndLTjo n8/JwOvPBt2528aZfTZXQLKd+qfZQb1+UhsqQ7antWX60gkXaL6KE7MwMOTD98oMiC cerNa0DBKs5eGDI9yYfQS/wFCfmxoSIhKSt21oBlnyomqlSCqY2/JVdRZ7hv56XmkM hkFJ6ldALLiuA==
X-Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org>
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