🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #808

Re: [PATCH bpf 1/2] bpf: test_run: Fix false -EBADMSG after skb leaves CHECKSUM_COMPLETE

#808
From: Maxim Skokov
Date: Thu, 08 Oct 2026 17:17
12 lines
9050 bytes
On Wed, Oct 07, 2026 at 06:45 PM +0000, bot+bpf-ci@kernel.org wrote:
>> +	/* A helper such as bpf_skb_change_tail() may have downgraded the skb
>> +	 * from CHECKSUM_COMPLETE. skb->csum is then unused by the stack and
>> +	 * there is nothing to validate.
>> +	 */
>
> This isn't a bug, but could the opening of this multi-line comment be put on
> its own line, with the text starting on the next line, as is preferred for
> BPF code?

Right, will put the opening /* on its own line in v2.
Technical Details
Message-ID: <20261008171726.47795-1-skokovmaksimevg@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343151-linux-kernel-netdev=dewy.ru
References: <6ddac0398e54f73f0d424069145c6901d8d0ff3401fb160db0a9e3b281270c06@mail.kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343151-linux-kernel-netdev=dewy.ru
From: skokovmaksimevg@gmail.com (Maxim Skokov)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH bpf 1/2] bpf: test_run: Fix false -EBADMSG after skb leaves CHECKSUM_COMPLETE
Date: Thu,  8 Oct 2026 20:17:24 +0300
Organization: Usenet Network
Message-ID: <20261008171726.47795-1-skokovmaksimevg@gmail.com>
References: <6ddac0398e54f73f0d424069145c6901d8d0ff3401fb160db0a9e3b281270c06@mail.kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="927979"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:2K2vTFrknD1YOghbq/QDYMA5Ejs= sha256:+AKyOtMzzh7J6psAtqJgihXLSlvBFoTFcy+/hDS6y/4=
	sha1:Ymx4w82datjdTvR2fQtFvQIiipc= sha256:IV/1xn4eJAbtkhAe+5+FIrWtDEHHOGjFerCYpmwXrzI=
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 F08EED2680; Thu,  8 Oct 2026 20:19:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.749
X-Spam-Status: No, score=-0.749 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, 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 871Vfca-USEB;
	Thu,  8 Oct 2026 20:19:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343151-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 1C4BD10F410; Thu,  8 Oct 2026 20:18:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 0D10E2BB59; Thu,  8 Oct 2026 17:17:41 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C6643B2D0A;
	Thu,  8 Oct 2026 17:17:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jS2HQWq6"
X-Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19E413AFCF0
	for <netdev@vger.kernel.org>; Thu,  8 Oct 2026 17:17:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791479860; cv=none; b=EOIlCyqhiwjAHPXaK+EuzliRElEvkgMwEXaAxzv9h1oJRBQz9Vx/Ldg5UQdVSsq+VSHJmGSMRkJYLPVRidFp28oiL7/p6sb3NxYqhclstFud5v39s5PS/PqHjcM1hpMerd+zGH/FcAgvN1U8E1RzNaFAPfsBwekhQIoQo+k5ghU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791479860; c=relaxed/simple;
	bh=fa57BarLa3S4MwWGljw0T6+FFl5B5HOLbc1wS80I4Pw=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=Aqql2NanRxHHLtG8nKWn3YBxc9Hj9+jbaU9mb/lnVjtGWcTAAeRwaPvXKeYQuuKPtxz5F51dw3chI/YbQSKacL2AndwjiPghPTd42EkrLm3d7PB71OK7t2tJmdnwHLjQiSUZZLVOUhNjoQFNbTe0kQZpZ/BdSReGtyCnAsTnZM8=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jS2HQWq6; arc=none smtp.client-ip=209.85.167.45
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-lf1-f45.google.com with SMTP id 2adb3069b0e04-5bcb2ecebb4so3003599e87.2
        for <netdev@vger.kernel.org>; Thu, 08 Oct 2026 10:17:38 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1791479857; x=1792084657; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=o0PLYiY/N8RhjOEjCS15BiR6ywDnnfcu/szHv5dRujk=;
        b=jS2HQWq6xE8lq1rtpRL4VZta8mxVld5O7SU3cw6IQqEEKyXS4RgMR+SJQ9Z/KrXfPm
         68GJx4TxlwlnDhdx8t4RjExja2OQTQ9o0R7l6ur9h9n2aCBu7zLirWVeYJyi+CrP3yFj
         qLc02xh65SGRlfjaRem5xG1vr8Y6sKfAkc1YLxajNKWZXEpUbsh4T7gYvoDMYovjVD+8
         gBTFALTe4ss7OVj++8BclcdTVNYjzrchsnD8LpEpyrK6k5JB78Nzxr2jny/4VJtmIRJ8
         28HE0tPuMoeUVZT2ibOOYR9/rhQ5u/kpsFJ3GykFdMF3GkA2KVUdOkdwBUyQ+vnFpDrJ
         3SmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1791479857; x=1792084657;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=o0PLYiY/N8RhjOEjCS15BiR6ywDnnfcu/szHv5dRujk=;
        b=A7gSTmI/B2p/uk5xw9sZ1aSjaBpbm4UboFrxU2fiQhz+ccZFSdBwAhe6YUkeB6Pp1g
         OHalpmZBvdcvmQ3T6NHgCwGGtIv9vwxRQvtHZZbJuUDH/knTqwQuYnOa3Y3kF1oHyUQZ
         ezxaMYbDx2iIXsZwCmP8PCyGWbiKIVf9WLs0Ed2CLFHmXZed+q5gxDiAcnBKah0M+Qic
         Pa9JlC3aCeQfzkYM5jDBfUN65DNuxIGwDyN5SKwWvC5nEO6a/QblPr+54Y1WrAWdyS7M
         /Q/Luylz0VN4PIvrqHrRIi9mZQyaLpxWL0LZoRKnfpRONdIx78H5XR7Mu3yRgf85tBCz
         Gk4Q==
X-Forwarded-Encrypted: i=1; AKwUvByIx27uXxFYf4dTLD8ERn01dFwBXHgpYbBRGT4zctHL3K28j/8MM7L7rVmtFNB7dW1VFqHfTc8=@vger.kernel.org
X-Gm-Message-State: AFq9FYIM0LUmJ77gPirys+7xOo2jx3VhpCja+fh6lVNYiY7S0e2clA8H
	qwcddm3gLMJpGxDPw3hycUBFoPg+bIqMF4kLSLErN3USUchArZxiQbeT
X-Gm-Gg: AYBFou3zmG0DdVuyiDs7MCVyfggbpmb6Er9B+dxUvHz5w3/I4a1nRs9zs2f7KuGxB4N
	iGzQFAn4pXv8TkJhNHr6mXn7udoZXYmA8ue6rbQzGN/7luLgaUBUH04PRlMZv1loGP2n9Jzc+4e
	HkpS+jF34CWS9TouysQqwx6tFZujT0VJLM61ZKB8zuOOiFzFdpouQHDdByK69oiwzSkPC5Jxctf
	m7nnSkKzD/PiqpOO+YwyZmgFaK7X9qvupeegax4S6mxkFfcX0pj0cQAzwTz3Tp4L0/hjp/aFj2J
	AyZ3khkGJxIjvJ56LiJz4doY5wN0SPlXuQurhMg7kdsPrXt2is/ZtjHnjzRQL49L9XQ0ZytcB6p
	fEWd51iSfSqkq2meJCnqkhmyEV8TInO8nDYTMF4T1lEfN58r6upw1sCRRnfYJhiHWsVUfy8Qd5J
	5ToZ0DE6ke//lPp9Jz51VY3toOTN2P6Jt4sr+zFudu3RgxFhV4Kug0USje/qKkIkSyM63R1kYMe
	/Lk2dt6n6JWuiZUH1TaUf16IWvrTsk9BtsztSFZcn+Yx+dn7i8k
X-Received: by 2002:a05:6512:3a91:b0:5b8:bc5e:b57f with SMTP id 2adb3069b0e04-5bcd0712af5mr2293273e87.55.1791479856946;
        Thu, 08 Oct 2026 10:17:36 -0700 (PDT)
X-Received: from localhost.localdomain (95-24-167-79.broadband.corbina.ru. [95.24.167.79])
        by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5bcd3015020sm1497605e87.11.2026.10.08.10.17.35
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 08 Oct 2026 10:17:36 -0700 (PDT)
X-Cc: Maxim Skokov <skokovmaksimevg@gmail.com>,
	ast@kernel.org,
	daniel@iogearbox.net,
	andrii@kernel.org,
	martin.lau@linux.dev,
	martin.lau@kernel.org,
	eddyz87@gmail.com,
	song@kernel.org,
	yonghong.song@linux.dev,
	jolsa@kernel.org,
	memxor@gmail.com,
	emil@etsalapatis.com,
	ihor.solodrai@linux.dev,
	davem@davemloft.net,
	edumazet@kernel.org,
	kuba@kernel.org,
	pabeni@redhat.com,
	horms@kernel.org,
	shuah@kernel.org,
	vadim.fedorenko@linux.dev,
	mason@kernel.org,
	netdev@vger.kernel.org,
	linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.47.3
X-In-Reply-To: <6ddac0398e54f73f0d424069145c6901d8d0ff3401fb160db0a9e3b281270c06@mail.kernel.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>