[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SEYPR06MB513489CAF2A14D7DD5B32DF89D4A2@SEYPR06MB5134.apcprd06.prod.outlook.com>
Date: Mon, 28 Oct 2024 05:58:24 +0000
From: Jacky Chou <jacky_chou@...eedtech.com>
To: Jeremy Kerr <jk@...econstruct.com.au>, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Joel Stanley <joel@....id.au>, Jacob Keller
<jacob.e.keller@...el.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject:
回覆: [PATCH net 2/2] net: ethernet: ftgmac100: fix NULL phy usage on device remove
Hi Jeremy,
I checked the phy_disconnect function again.
It will assign NULL pointer to netdev->phydev after calling itself.
In NC-SI mode, it does cause a crash when calling fixed_phy_unregister(netdev->phydev).
Thank you for your help in pointing out my mistack.
Thanks,
Jacky
Reviewed-by: Jacky Chou <jacky_chou@...eedtech.com>
Powered by blists - more mailing lists