🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7687

Re: [PATCH net] pppoe: drop discovery frames with no MAC header

#7687
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 00:00
24 lines
8598 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 23 Oct 2026 16:00:00 +0800 you wrote:
> Commit 8540827ebac6 ("pppoe: fix reception of frames with no mac
> header") drops PPPoE session frames with no MAC header to avoid reading
> uninitialized memory.
> 
> Apply the same to PPPoE discovery frames, as both functions read
> eth_hdr(skb)->h_source.
> 
> [...]

Here is the summary with links:
  - [net] pppoe: drop discovery frames with no MAC header
    https://git.kernel.org/netdev/net/c/406bf2dc8d6d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305920806.3470272.16839047097995389873.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352140-linux-kernel-netdev=dewy.ru
References: <20261023080002.221332-1-qingfang.deng@linux.dev>

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-352140-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] pppoe: drop discovery frames with no MAC header
Date: Tue, 27 Oct 2026 00:00:08 +0000
Organization: Usenet Network
Message-ID: <179305920806.3470272.16839047097995389873.git-patchwork-notify@kernel.org>
References: <20261023080002.221332-1-qingfang.deng@linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1427484"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1EjlwJBs2ZJqA7fXRvWyHJGLszE= sha256:YUKE/N+N22VP48Tj2cCtUogYxmUOZjIynatxOsyiIXI=
	sha1:h/xqBm5YKuL9FyTmUtX67jJ6RL0= sha256:LV0yvLWZatIQtI4+QPClbfGIODwwgvIy1hgkJnpLozI=
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 5D0DD125BD7; Tue, 27 Oct 2026 03:04:33 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 oDAPZPxWGMCo;
	Tue, 27 Oct 2026 03:04:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352140-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 93E64125BD6; Tue, 27 Oct 2026 03:04:21 +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 2BDAF2D821; Tue, 27 Oct 2026 00:00:16 +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=1793059216;
	b=cZv0cIgLunzHjrvu2GhrmhTxKgLsvkXVoq6fvdauBRLRejz5BAIqELgaZptaVOtC52VM
	 bG6NtdGeZYNnlZH6dj6iugmKru3RE9WOb3ol+IlNVGzfOWwGeJ9aGuhWBBJ8xcuvkXKQI
	 ge/rS8sa8j2OuQ4AsdXSWXW0RgZ7/N5eCsig6GBAX/YZnoXoashFpYeg2FiA7Lr+uVlMQ
	 tXzs9T/WJZd3NA8yWU75CRiQx+w+YxQWRvT3Fp7bAIp1LzSOHaUku06p+Wqy7xJ3j2sJd
	 oTBNpFXgEdzjOJIKedbuhxcDVmLcnh4uZLg/MClun+yRitfQ8OXBxW5Tvbtk0AiUoGA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793059216;
	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=/+dLj3NwfDosSbNrwS0xYoMb5nud4zuqBHFjRnmRvY0=;
	b=o9s5VmjHeXWBW/xiPEaYeJlHSUWI7RdDuYj8k8moEtAKDip6tWDtxOiAOJSu3p/1cvI5
	 23IwcUUBXMSCRsHygYVpaSScIrZhVHiuW8E0bSsyW9svmd+egFWrl6RGDkX3t0BHiWtzB
	 Cybll5rF3rO1IJGMplJnoDbFSNvZe+SulE9QMR0MD2QDIdIoqj/TlIds4tQWgwAmS4lWL
	 mfP5MbPqHAuQE0aKjYwf4RtaQUPRQL+ZQGv+Cm1tqWu2Dt3f2bZKR+SdHdmfuZQGZOtGj
	 lR4jZT5UMFTbW4cevcNyGa1ZikLIOZ8x1FIMdqxG549kmmjBHaHMJYrU6XzYVM525Jw==
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=TowA4J8D;
	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 03E3A606A327;
	Tue, 27 Oct 2026 00:00:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TowA4J8D
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=1793059210;
	b=azLS/am9KXJbk/ucS4bC96DwbzW3QslJoZwbW8cjtNvhnnGylW1utdaGwQRLIwi7ejAG
	 HMpgCgYR1IBuuJIpmlS4dNxiqveXM3cj2ron8yyoESJXxyn7ZYjOJ582ORUX0ltQdBxXw
	 IVOJ6HVpIldavnJoDz5dnLgy8nQfqfijVdOzZt0CajlsZiY0M8IkzS1IWf5TaGal5xGwE
	 6Nj31z+PMBU8kL5L7IftrFklgJKp46FS0/6c2CuGejBoJYJlkBWv8+uLPhYKmPyl1paWD
	 imVBBOn8jsWiMd+XzFm8HjT6drrbt5IK+cHVNWdyIIgJIAxABGN1NWuFqtCfiRwdhRA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793059210;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=/+dLj3NwfDosSbNrwS0xYoMb5nud4zuqBHFjRnmRvY0=;
	b=ARpZ9dSYEsk0hhdjFIjjYFNZgJsXhZ4vWHi10vHJ0BoMFC6fHlJI4Izfo8MdMrYA/igb
	 rIMQf+daqcJe9vkk+8+cdsXbRPdmgreH73IMJ8SNNvpagZcAe/62WtV540iDq3bKI8tKF
	 l3QXUT0VNlvAx4xAplpkqH2sumlRWOEuZnTSlzt3nNLh+p51QI+udYu+BTyZnIJmFyyOv
	 HxcRrhYFyT3yEIU25ckZ13Othmd6bNIHShJeYJ9qPsZJ9bxN+lXrtY67MIBOwsZbpqTzt
	 fMdQCmYx28JZHVVF2yC5cTtsjrKLbt/iU6RPfMIZh7KxEy+2e2Gr42ZWMrymh06JIGw==
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=TowA4J8D;
	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 CDBEC606A31F;
	Tue, 27 Oct 2026 00:00:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 556151F01825;
	Tue, 27 Oct 2026 00:00:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793059209;
	bh=/+dLj3NwfDosSbNrwS0xYoMb5nud4zuqBHFjRnmRvY0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=TowA4J8DHYvJcYlA8XeLH9ME0quzAgLwOxbL6RDn+3RBbiksfzR+I4UeHnOSPcMeL
	 nIK8q21woxG3kWfEsZoVFt23I2R4s9d8PQiOZTxbPPiDhK0IrqTMPJ9wMzoPSWl8P2
	 laexTR9WFWL8d2x+i5z+ysTNO9Cs/Qo7Dr9z0NsVuYrM1gDCoRNMoGM5R00PvYjfuZ
	 9srw9MbAPk+1EtOE/Pb777cMQOMqgQvp7qrxx1uBtqX/UQjLB1pFaU3LVZQjtkKEeG
	 Vaj9CADb97F5HFRnFN/X7rMpE4YILL2+r/UD/rze9OP6sRzi9OSIPEkfWh5uezh1b4
	 Z7SZlg5zpFykw==
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 496633AA80F1;
	Tue, 27 Oct 2026 00:00:09 +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: <20261023080002.221332-1-qingfang.deng@linux.dev>
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, ericwouds@gmail.com,
 nbd@nbd.name, manizada@pm.me, gnault@redhat.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org