🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5858

Re: [PATCH net] ppp: linearize bridged packets when required

#5858
From: Qingfang Deng
Date: Wed, 21 Oct 2026 03:07
25 lines
9549 bytes
On 2026/10/21 10:39, netdev-bot+sinfo@kernel.org wrote:
> Hi!
>
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
>
>   - Whether the issue was actually triggered, or is only theoretical
>     (e.g. found by code inspection). If it was triggered please include
>     the symptoms, like the stack trace or error messages.

This is reproduced in a VM, with a TAP interface bridged to a PTY. When 
IFF_NAPI_FRAGS is set, a non-linear skb is passed to PPPoE and then to 
ppp_async_send() without linearization. The packet sent to the PTY then 
contains garbage data.

>
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account. If the series needs another revision for
> other reasons, please include the information in the commit messages
> then.
>
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.
Technical Details
Message-ID: <c0f348bf-0e13-4cb1-8014-cd9b7787bfe6@linux.dev>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349747-linux-kernel-netdev=dewy.ru
References: <20261021023608.55867-1-qingfang.deng@linux.dev> <179255036282.3290.8488375760281728576@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349747-linux-kernel-netdev=dewy.ru
From: qingfang.deng@linux.dev (Qingfang Deng)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] ppp: linearize bridged packets when required
Date: Wed, 21 Oct 2026 11:07:27 +0800
Organization: Usenet Network
Message-ID: <c0f348bf-0e13-4cb1-8014-cd9b7787bfe6@linux.dev>
References: <20261021023608.55867-1-qingfang.deng@linux.dev>
 <179255036282.3290.8488375760281728576@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="4024385"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wmZoYokYuzL5VmP1XiXMkd03q1Y= sha256:PCASevZ3BfrW7QCpGUkCyuxlYqi666AqR5mCa+FySy4=
	sha1:P952fINwwgdH8lcrOGd+1AdZGC8= sha256:e8ikT2ajoUwU7TaKavr55EpaYikZERHKLTm0e53ysCw=
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 24AC4110EFD; Wed, 21 Oct 2026 06:13:42 +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, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.dev
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 rIF2Rd6fehaF;
	Wed, 21 Oct 2026 06:13:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349747-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 5845B110EF9; Wed, 21 Oct 2026 06:13:26 +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 BEB743D536; Wed, 21 Oct 2026 03:07:48 +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=1792552068;
	b=JGSZOt5CPseXAYyA3wD/HxGdyF3dPz6f5f1QuzFZIPhdlkbHQUGN0V5WvpZxRZWtIhbO
	 QJBaquG5NEX7GCnwTiaHW9LOUQcVRsAY+f5HeLMZuGHe5424VHUHEGKx+6wjbDtpli6Vt
	 ZIcIZRrFCtS2dfBuC+bfcS9SZH4U02GcrzTlEnLe+dLwp7tvWuddOdhiYyYRYQihN1FaZ
	 EjdMaE2jvKETg64beI5RDga12zdtyZoKlhceSnHxUcBtmMorLitOIlq3AHcf+nZCNAWS9
	 LrYD2RvUu+yDHY6t1qF0Geh/kN8ap0WubOPokVxbFSyMiMdiiyHhuRrGNJR1Bs5bCbQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792552068;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent:
	 Subject:To:Cc:References:From:In-Reply-To:Content-Type:
	 Content-Transfer-Encoding;
	bh=LXGO/Ihk9N7F64gTwFfu4H1jjMd/4KNmHzrx69idA3c=;
	b=ZkZ9m5sA2XSUF9pEMlPlkheq1EchLW/onELjUDGxQRlDY/EaeWCOTnWaKRNo4SP1xqQP
	 SSrKijivmOWkQGxuoaE684JEAqtTzEdZoVS7yScLsyPBOFg9QLSQh97dal3LFaQdubopc
	 kiHEHJNeGLSbYETbuDaIqU2H771wtcLPt4qmmlyTGYyq3JBWpdhXZICo6TsxcWhSXnU3U
	 DKzEB4lO++FkTPKjO5gIiUHEUwhbs4VTfZmU0zDeK9VwMZgL2CroBfNPpzbnDeISIj4yv
	 6+oh7M6/ikWML465K8wwm+cwJL4IF40D70Ob956Ug/fOy1CtZZ5dNmibOd9eG2NFlrA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=M8yYgPPo;
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	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 39C33606A319;
	Wed, 21 Oct 2026 03:07:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=M8yYgPPo
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.147
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792552067;
	b=I2mogzWY3oYNrw+lx5tghivMBuCskfK67wyoClZEfWQbomC+p/Or4J/lGml/p8qtbZ2/
	 0ob1ybNSiXNMYDwPgGRRBjAodf5nISwAbbCaXaiIkjLv1CO8Ri/pkNPBYlRaA81GoX4cB
	 I0bWxMkGhqB8PoL/ybpuw/nk3VxrJyiKlbiBKzs6c9NkG//iqjpch7rxsBt47eATFm6YB
	 7A514ge2LTlvZcpx3MHdRni8fJTzAw4EtR96p8Q39G90NWpOA05tEqyOmtvrLKrBRLRbW
	 mu4pOv+dm76A7RtC/XBfEpF4BsmQ1dIL1WIp9y/X4BeNbEMs9Ik/B5BFrJPiGJvcIXA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792552067;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent:
	 Subject:To:Cc:References:From:In-Reply-To:Content-Type:
	 Content-Transfer-Encoding;
	bh=LXGO/Ihk9N7F64gTwFfu4H1jjMd/4KNmHzrx69idA3c=;
	b=K2a/xNTlUjLgMrC37vY64UX2Klxh3p0E8TsqmXHKPenbMRkMXIGMsr7kvmYtCPGI5uZg
	 hVODYRINhGCAZX6ehnc+kPEf82tmdj6OJY4khAPdoSozcCEGeIMuqLGqDeq7vuRfCCdys
	 frHV3AAfXg6EYBnYGIJrzsRd2BlMrZEHbb65gJ/04L/JuygY+82stq765vqhJEw/I898L
	 Jc5ygn/DjYzrmHxPGAtDASDiU8UXOLDgO1ys4S7bucnQNE8r+b79/fd1G9jW1GkLNMGs4
	 B0/Tm1ILfQOp7DExBREzEPTcrZd/Dy0CEEMZI6VSh2cDxytS5dsDBhj3Kd7MSkpvFVQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	arc=none smtp.remote-ip=95.215.58.147
X-Received: from mta1.migadu.com (out-147.mta1.migadu.com [95.215.58.147])
	(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 7DAE6606A31B
	for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 03:07:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7DAE6606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=/uplozhpt4dcAKvCO16vQWyHQ5FbixVEQFL8xKVM96I=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1792552054; v=1; x=1793156854;
 b=M8yYgPPoV4q7547aFDcoivPGdL1St8RTKNnolZ0Hene2Htbbwwjd1qDW7l0viyLmAJiFgLp0
 B5rhbkXporg8LeRtmzNXGaTAoM88ogE9KduOGiZNbuRm+t59Y81kmap3BT+J65CfY8humsmfr+b
 HkHdD57pIHvF5ZiJRTpwN3eM=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by smtp.migadu.com with ESMTPS id eed8bf568db21181;
	Wed, 21 Oct 2026 03:07:34 +0000
X-Mizu-Trace-ID: eed8bf568db21181
X-Migadu-Flow: FLOW_OUT
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-User-Agent: Mozilla Thunderbird
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller"
 <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>,
 Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
 Breno Leitao <leitao@debian.org>, Kees Cook <kees@kernel.org>,
 Taegu Ha <hataegu0826@gmail.com>, Tom Parkin <tparkin@katalix.com>,
 linux-ppp@vger.kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, James Chapman <jchapman@katalix.com>,
 Sashiko <sashiko-bot@kernel.org>
X-In-Reply-To: <179255036282.3290.8488375760281728576@kernel.org>