[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5BzLh4az9t=fJkG80GW3_xdD3YxUbagL4dJp7Hwr4koZw@mail.gmail.com>
Date: Wed, 8 Feb 2017 12:34:19 -0200
From: Fabio Estevam <festevam@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Kernel crashes in phy_attach_direct()
Hi Andrew,
On Wed, Feb 8, 2017 at 12:28 PM, Andrew Lunn <andrew@...n.ch> wrote:
> Hi Fabio
>
> Could you try reverting:
>
> commit cafe8df8b9bc9aa3dffa827c1a6757c6cd36f657
> Author: Mao Wenan <maowenan@...wei.com>
> Date: Tue Jan 31 18:46:43 2017 -0800
>
> net: phy: Fix lack of reference count on PHY driver
>
> There is currently no reference count being held on the PHY driver,
> which makes it possible to remove the PHY driver module while the PHY
> state machine is running and polling the PHY. This could cause crashes
> similar to this one to show up:
Yes, after reverting this commit I no longer get the kernel crash.
Thanks
Powered by blists - more mailing lists