🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18886

Re: linux-next: manual merge of the bpf-next tree with the bpf tree

#18886
From: "Alexei Starovoitov"
Date: Thu, 19 Nov 2026 01:17
41 lines
12704 bytes
On Wed Nov 18, 2026 at 3:47 PM UTC, J4f J4f wrote:
> On Wed, 18 Nov 2026 at 05:36, Mark Brown <broonie@kernel.org> wrote:
>>
>> Hi all,
>>
>> Today's linux-next merge of the bpf-next tree got a conflict in:
>>
>>   kernel/bpf/btf.c
>>
>> between commit:
>>
>>   b7cc45994c3f9 ("bpf: Check variable-offset accesses against special fields")
>>
>> from the bpf tree and commit:
>>
>>   ca4395aade31a ("bpf: Walk each type once when looking for special fields")
>>
>> from the bpf-next tree.  I'm not confident of this merge, it discards
>> the bpf commit on the basis that it looks like there is some new
>> handling of special fields in the bpf-next tree but I'm not sure that
>> overlaps with the fix.
>>
>> I fixed it up (see below) and can carry the fix as necessary. This
>> is now fixed as far as linux-next is concerned, but any non trivial
>> conflicts should be mentioned to your upstream maintainer when your tree
>> is submitted for merging.  You may also want to consider cooperating
>> with the maintainer of the conflicting tree to minimise any particularly
>> complex conflicts.
>>
> Hi Mark,
>
> Thanks for the report.
>
> I reproduced this on bpf-next master: the rewrite does not cover the fix,
> the check in btf_struct_access() now only looks at min_off again. I will
> send a v4 rebased on top of the bpf-next series shortly.

Pls ask your bot to stop doing stupid things.
Technical Details
Message-ID: <DMYSHE1LVD7S.3IT6CHA55HJGY@gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366615-linux-kernel-netdev=dewy.ru
References: <avzIz70qnJIA2t3x@sirena.org.uk> <CAE_LbwkvPV2-LJ2b7OCFzmWmBP-jfxeMR=ARZJvuF4RNx8M1dw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366615-linux-kernel-netdev=dewy.ru
From: alexei.starovoitov@gmail.com ("Alexei Starovoitov")
Newsgroups: linux.kernel.netdev
Subject: Re: linux-next: manual merge of the bpf-next tree with the bpf tree
Date: Thu, 19 Nov 2026 01:17:07 +0000
Organization: Usenet Network
Message-ID: <DMYSHE1LVD7S.3IT6CHA55HJGY@gmail.com>
References: <avzIz70qnJIA2t3x@sirena.org.uk>
 <CAE_LbwkvPV2-LJ2b7OCFzmWmBP-jfxeMR=ARZJvuF4RNx8M1dw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2750876"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:TfNIDU19GTadCDFqab3912yU45E= sha256:6usIE2SJfIB1TGEWLJ5CYsrNHeP+1L83hmgP8ZYQ+ZY=
	sha1:nirmIIk5pS+ogqfp4hHV4YbfQ/E= sha256:C08xu37CD8eHRvARQ2xL4nGREnscpbPiH20YWCqb2S0=
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 1B727114CC8; Thu, 19 Nov 2026 04:17:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=gmail.com
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 H7_5Q2rNAwAs;
	Thu, 19 Nov 2026 04:17:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-366615-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B5069114013; Thu, 19 Nov 2026 04:17:15 +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 BD2B42A4F3E; Thu, 19 Nov 2026 01:17:11 +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=1795051031;
	b=1lgjCE1afgEfMZFNAsCcsCgRk0b5b0gTjTd3nd4SsLQRcdf8b8oXQpK+W4REQ5AxiLHl
	 QmFhp9d80sys/b07ncHVUl/vRiS+J6U45arFbYZPzCoufZZNLm0z75KhJQiSedmHeh0Mk
	 QEKOueelOyKV1th9qs3gvKWcf2iFXY8WMDqKY5KUlvvFtZx46iAXpOFLUniGVVaSNiW6K
	 AMirK2vSKHUydRmO7taIkTluRi+lqFksQh6fi/6rmC1dSEt8i85HuXxjw77sjMp+RMJYo
	 Gm2F6EXjGzHKmYa3j/rmAJQR/B19dfMT5fL/ceAGHwJvWzXO1uVYfjzvQmPS2yRi6hQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795051031;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:Received:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 Mime-Version:Content-Transfer-Encoding:Content-Type:Date:Message-Id:
	 Cc:Subject:From:To:X-Mailer:References:In-Reply-To;
	bh=59Vn+6ZCrn4bkmigHbGhLn/ZQOyW7NScFiy8pChk97U=;
	b=3JyB6sWdzRy63mUxZ5KMX9bpdFpfLi49K/jZfIHyHKZuffAjtm8zZHzSsuRhOJMokp6z
	 JxqbnZhNA6fMFUouyCdzS3fwIML35SrBcpUKVZ1SfhyYc1lwhm0xuKp6Fx1RArwzfKjaS
	 GykwkHwABzBCTdsMp/BINFVMVqP7fo6u2qj04+9H+Ob/IxCcbFqTfcSo9DkzQsirDA3FR
	 n9BUGTXMdJMNC2qr6DPZWvD/VGI3e9j5itemj4yK+XFH+yLIlHEXF6SlmWWwkI9BWuY8D
	 J9EoUJ/wCpIr1mW7VS7sPmxwDdG6EoF8tQowG3oV3iqogzogrI3o8Cm3byqsNDrat/Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=OodLDqWV;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	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 08A41606A334;
	Thu, 19 Nov 2026 01:17:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=OodLDqWV
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.54
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795051030;
	b=La95SHdvARtwNbx2H3brK2LtdPdXqEuAHYIcwbSnjT/pGS/pag1+tq4Uy/6uPiPsglxw
	 I2AlKgniNcN4j7Axpoh7BSnUQsjlCmcEB4Ypbcv6k+CQULXrFocqFC71GZu6krshIZ805
	 CDXaszaaiVgdXLLt8QzZ9NnWZW6RdzZj8fRcTDonXpELYk+8voLsJFUURBg4SC7Kkrxxf
	 tDMFwRC7wj0epNJmaJsQx4tmIGtMv7CP4vqatTMp+GRYandapOTAXtTPesY2l48AenjrF
	 rtmXdfqdUPbEiuJeOhGfnG98bDoe2UirBk3HeDUs37kysDxBs2sNeo7YbQIEZItX18g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795051030;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
	 Mime-Version:Content-Transfer-Encoding:Content-Type:Date:Message-Id:
	 Cc:Subject:From:To:X-Mailer:References:In-Reply-To;
	bh=59Vn+6ZCrn4bkmigHbGhLn/ZQOyW7NScFiy8pChk97U=;
	b=re2N+ZOEvwALYP5BS2vweO18vQRSsIy1nopjOzBY9C9mig9cf9iF/XJ+76IGLNMSM5Oe
	 L3oemAbW1ptYdKWdinN5HTZHpWsICpdN5dUk1UcfOmgYF0qXmfsX+5GYHmDQ/fGllOS6z
	 sQJiuUmxc5/XLrW+abERyB+R3RPm0XYgXJZknafQQpbPjcGOUr2ZhixaOXIS12BAieZtv
	 IXcLOWOruRBlKYTnGMePN1x7RSBHrkaSsnfciNaYNzigjdKqdz3coF4QxMdTdB+uiwCY5
	 xQdKaZcxTHFrmr8WuKjDIUNh2NOwStqAWLG4NFNeZ2nvOlngOUc7kW7OtnP/9oFTetA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=OodLDqWV;
	arc=none smtp.remote-ip=209.85.216.54
X-Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDB46606A331
	for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 01:17:09 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CDB46606A331
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-3b3af93b85cso926851a91.1
        for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 17:17:09 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795051029; x=1795655829; darn=vger.kernel.org;
        h=in-reply-to:references:to:from:subject:cc:message-id:date
         :content-type:content-transfer-encoding:mime-version:from:to:cc
         :subject:date:message-id:reply-to:content-type;
        bh=59Vn+6ZCrn4bkmigHbGhLn/ZQOyW7NScFiy8pChk97U=;
        b=OodLDqWVLKJWRJ4hxsJ+0H/bezzEwzFKojs+r32NAdCAkVMc4Nwq1iDewob/8kYBUv
         JCfPxpSQ0HMUags40Mt1pFZ1Gkt1tkJ8RqaEVbemFmkZJsRHtcjynKb6UZI+MEUaKplg
         i+aQ5CLAjSvcZpVSNhZFAnuVWMV14aj4vhpSEkUdnpnygjvdVw2IvjbA0YRQMV6jrS1o
         clGsv6cndA8hxyP+N2tDp/PL9oxGHjp5BWXzOtscSWyHARXkcSK9Z526nre/f3kQDQ3l
         e7nAdv672XkwpthS6aIWB1g0G9K42GfA23U+7MqGA9SAp1oRKVgq+Usm3JkEr91+e0GQ
         6v6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795051029; x=1795655829;
        h=in-reply-to:references:to:from:subject:cc:message-id:date
         :content-type:content-transfer-encoding:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=59Vn+6ZCrn4bkmigHbGhLn/ZQOyW7NScFiy8pChk97U=;
        b=ObvkCjjC/iBBzgx5wzsO0FIughR8GZm63OnTPLKFgro+GDG+64YfJIEgAa4kkbxoF8
         0BeBxNDtlGwuuw1XUs5XgnjqE9BW4PbuG5oUOgMVR2bHdXGI8OLFWOK0W795hQ0nsx4R
         iUEyjeh1fO13foh5RyKo4Lp/7MxIiGCwsmyF9WCmavjwwmv6dK0Hp3i3Ln+vtpu50O52
         F8hhZcYeeV8mmGWG7ju2iEaET51NXOAdhGwyOiwzSaUFGGAc4ajFqtbAkexanluih6Vv
         cvSr8stqJ4PuKLZj80cfF/rL58tjC78q9JtVo0r1vAOWuXdKW2vPxOzCExmtYMU/FWF1
         537g==
X-Forwarded-Encrypted: i=1; AL+hErGUVPuMTHZr106J6LbuGQWYfZe2tybvRsBt+0pPT5E5m3U2k+EZ/ZepjXRhqXhw9fv0clUl/30=@vger.kernel.org
X-Gm-Message-State: APuU4Z8uP5cXHX97yiJEYxP+/na8GTLi5L7EjpVsN7S7zNX6oni1WGtk
	gYpnE/BJjCzT6W5hDi4Bk4mGg+iW5PuvoGbi+4pYOxMc2NtLBq6z2PZb
X-Gm-Gg: AZFdTZfTL/b5wcAc3dHLbjx8bNqV22TEtlUTk/pgr22LbuJEQ3WjLdlOlJAlF2QLemA
	n8tAyd66bBgko7evIV5GM65v3q2KXYQyEk/H2pkqVIu4TkZmYDBw+kGNrZD3hlC3F9wmHnON6Ay
	4vtjaOq+SWz2ajTPzwzmAiW0NdfOkvTMJQ3u91lkG8ERVQ3HeYu82oxZQaxpNwfn2Q8WHdZVrt1
	Uri1GUBjbhEEhXufbgAWEilRySA48cqtbq19e20hbPeBLEz51pDl+UkUVB62yM0LHzdNzOKGgld
	JwcZafHNaTCtvVwbwmt10sDtjFsD4WFatthnL+I3NRB3E/sq8rikt/SBNKFYf/6N/sclTB2BWVg
	h3jw7PK4k1IWzCXUF9RfTPDBTvUCOvJIzrH93oIS1621jDA90Yvk8gFhdd/oh5QuY+WBdR9eeCT
	qkoBc+IJM024t9x4G2fZ5ENQn+JAq0zVQW+mLEHr9nDrEglQLG6Nw/uvT2kEN8HJHerX7JhaxeA
	SIMwmiM5eMTFSiV0QaM4u16wqd560YgbHiiV0GYyWBkHJc4Us6UJOcGHVcHWPz1xdfg9/kDvlJi
	H6HXBMKcq8L+Pj3AewNftehYFy0StnSNZP/Gu6UDD/21muPorOCSi+8oOYoKFinoY/dsrSnTMHp
	E/8PndE/t26ieRGrhV/Z+gy7ZEca5DVO26Q==
X-Received: by 2002:a17:90b:3e82:b0:3b1:2810:dfdb with SMTP id 98e67ed59e1d1-3b3d07a85c3mr4591922a91.48.1795051028783;
        Wed, 18 Nov 2026 17:17:08 -0800 (PST)
X-Received: from localhost ([153.61.198.254])
        by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b402981814sm107875a91.2.2026.11.18.17.17.08
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Wed, 18 Nov 2026 17:17:08 -0800 (PST)
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-Cc: "Kumar Kartikeya Dwivedi" <memxor@gmail.com>, "Eduard Zingerman"
 <eddyz87@gmail.com>, "Daniel Borkmann" <daniel@iogearbox.net>, "Alexei
 Starovoitov" <ast@kernel.org>, "Andrii Nakryiko" <andrii@kernel.org>, "bpf"
 <bpf@vger.kernel.org>, "Networking" <netdev@vger.kernel.org>, "Linux Kernel
 Mailing List" <linux-kernel@vger.kernel.org>, "Linux Next Mailing List"
 <linux-next@vger.kernel.org>
X-Mailer: aerc 0.20.1-355-gf870624f6c37
X-In-Reply-To: <CAE_LbwkvPV2-LJ2b7OCFzmWmBP-jfxeMR=ARZJvuF4RNx8M1dw@mail.gmail.com>