🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7663

Re: [PATCH net v4] net: usb: lan78xx: avoid NULL PHY dereference in WoL setup

#7663
From: patchwork-bot+netdevbpf
Date: Mon, 26 Oct 2026 23:20
27 lines
8747 bytes
Hello:

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

On Wed, 21 Oct 2026 01:45:37 +0530 you wrote:
> LAN7801 supports fixed-link configurations without an attached PHY.
> However, lan78xx_set_wol() unconditionally passes netdev->phydev
> to phy_ethtool_set_wol(), causing a NULL pointer dereference when
> a userspace WoL request reaches this path.
> 
> Report no WoL capabilities when no PHY is attached, and return
> -EOPNOTSUPP from lan78xx_set_wol() before modifying the wakeup
> configuration. Keep the existing phylib WoL handling for devices
> with an attached PHY.
> 
> [...]

Here is the summary with links:
  - [net,v4] net: usb: lan78xx: avoid NULL PHY dereference in WoL setup
    https://git.kernel.org/netdev/net/c/dacb77e32e2b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305680557.3450824.4724998894519023097.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-352114-linux-kernel-netdev=dewy.ru
References: <20261020201537.2465655-1-prashantsengar25031@gmail.com>

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-352114-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v4] net: usb: lan78xx: avoid NULL PHY dereference in
 WoL
 setup
Date: Mon, 26 Oct 2026 23:20:05 +0000
Organization: Usenet Network
Message-ID: <179305680557.3450824.4724998894519023097.git-patchwork-notify@kernel.org>
References: <20261020201537.2465655-1-prashantsengar25031@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1420399"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:JfIQf5L3tD14+DsMOEoJQO6eUi4= sha256:iEF4syCiU6w/rSryw5lg5FK3m5x/neoRFANPzympQoQ=
	sha1:8MGx6eGLwKKizRNQxHXdixZomHg= sha256:SguK8j2kcq902FUNz4CjI9/P9IK9qo0J0f5XgSVJQX4=
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 C3C3A125BD7; Tue, 27 Oct 2026 02:21:55 +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 d5p5As2raU1i;
	Tue, 27 Oct 2026 02:21:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352114-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 4A284125BD6; Tue, 27 Oct 2026 02:21:38 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 5DEC42EA5C; Mon, 26 Oct 2026 23:20:22 +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=1793056818;
	b=etRPCvrRMKdOq32KxpOUbP+0gUi8QenQMMDTlnGG+GXvYyr45WOyMf+R0qf0AZ4DADL/
	 Uu+v0pCUdar9mhQLfkxvkPYhX+nK1XWebbBZPfi0PuJPibgq7CMU/ArSBHq2NIdR1wmC9
	 QdlIdL9DkWSrgG3ogsFQ7opKnAsZCX6vtApXykYbl2x0FPWzZ5zZaEnENZjRup7f+Sls1
	 RbePVKdjBgswxujlKkHYD3Qn37/H6iyGtxY/R/dozT4w8ATv3li1Y0GZ0A4/ftGlfmNLu
	 owNXM8j5MIX6DhHL4gx2OnWy+JJOMTDeA3lpVX9F4T2U5gRuz9yAexS4jRpnro4J1HA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793056818;
	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=qK8orpGRHyt5JGdpBcDNln9vD5jTuQ7vbz/Adt8JaA4=;
	b=FaIj6E66Kg+HOlSROP+NTKBgzJwYZ/aLqueadFCI1fzmqCA6FH13UpossCAtXMczZp8/
	 fvRQdnivO6gHFFhMnqt6Ki9A8JXlOWE2FDoT55ISi7DQIn30G/OPtBdN6dPYwk1g8iHkC
	 V4nQVN0BZzbeVGF+Ak5bjEFR5x6GU6yJMOubEmxVgrjdfWLMoyY4I4nk8d0urNkWhZDCg
	 gffVeL9A3PbTu/0D0omxBVAjQ+2iCSqE7VavZ3SLgg7fDdgRafHUtpILguaUr46M//WRn
	 lRWI1ZWgJGyELel0YEGzNbXZpjP7VJ+aG2mOX7KgO0h5+6xuK0dk/13ctuuwLS3WpSQ==
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=DVWQcDdM;
	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 1503C60A2604;
	Mon, 26 Oct 2026 23:20:18 +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=DVWQcDdM
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=1793056812;
	b=1XtsnU9PBOG8rxkARXGJLJYaWBfve9LDwhgmFr4DDahlml4RIaN/Xgv1ZN9E3tbT61BX
	 2vsS4kWV/CdWj4b1IHysktmopjPTntyTDZB8csqJyBtLOPIWagruVSltgQ2kPlzNIpEiK
	 KYOJ9Gm19Lx7iW4g35mTnqR+ym38ptOkHyY2iAzCSbuyaP6ldRq1qtIpPLJ3l5NueLDh+
	 Q5dsTOs2DrfOs/aWlQY4TVIrukmds/USK0PaGpREdNz1iGYYxXkc1i8n2fj7qU7RdpxU3
	 CI0khqtKmDbE1plzjL1pB6VFU/gpYIGrse//nj1G4392wh4XrNRuc+NaHQrX+sEVB6g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793056812;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qK8orpGRHyt5JGdpBcDNln9vD5jTuQ7vbz/Adt8JaA4=;
	b=OOOmBHipi+74MdEOZQi3SoLR+J/EXgNPbqM5Ce6NJnvKhhSDS2kS9GRqn1oYWH3j1T9k
	 Mh1Dspqp7OFK6gfKZh69qeb04SXfICPaYbtflGNjdoHGajnQ/fIofPmYVwhlwithgJoFs
	 3aZGx/g0cKeVDTtU61hZsQoLGh8RQab0zKBYfzA2Qbm9KG5b3HuIq1nHCv+d4X4dPTv0E
	 KeD2VB5rTOAxawsNe3wcj8oQK5gCNVb41foNuYPjXkQHH9rAbG5EpC6oRXtaPfl/MhNJH
	 1V/dUf4+DSm8np9rPtKDs3RnELcnQMZXKMFSGAcu1glrs59J/fchgL4urHKJfEsh8ug==
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=DVWQcDdM;
	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 EBF83606A31D;
	Mon, 26 Oct 2026 23:20:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C898A1F01829;
	Mon, 26 Oct 2026 23:20:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793056806;
	bh=qK8orpGRHyt5JGdpBcDNln9vD5jTuQ7vbz/Adt8JaA4=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=DVWQcDdMfVqS7suofjXK2rHjn0rdjtyg8P382+vW6a66vRkkg5GCPBvDdEjcb62Eu
	 3W6x9gnsHrDjIbWfSvhB5TZEbuYyzq3G8didoSKTNoGLkCwek4oqe3wceZf2YO196D
	 Ms0Y9FUm0MtZu/h355nHnYpOuZt5393cLzSy873Ik1K0TTDYyJqhW7RTekxgaplkbu
	 9aJl3BuwVBSMwT7zb8SkXT6Q5Wa853VokviulNj1NTHMnK9Cbzx3BxD1hJVDgxpH5L
	 sj4WkhZKvcx6UJu2eMJyVtRDR5w5UZr61cRcXymBsbzS5MEEmgLCiH/69Qex1hPlHB
	 M89C8aEna+5Ig==
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 BE4D13AA80F0;
	Mon, 26 Oct 2026 23:20:06 +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: <20261020201537.2465655-1-prashantsengar25031@gmail.com>
X-Cc: netdev@vger.kernel.org, Thangaraj.S@microchip.com,
 UNGLinuxDriver@microchip.com, andrew+netdev@lunn.ch,
 linux-usb@vger.kernel.org