Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

2017-04-11 Thread Grygorii Strashko
On 04/11/2017 11:36 AM, Andrew Lunn wrote: I've considered all this option, honestly, but I do not know if this phys (issue should affect KSZ886X, KSZ8873MLL, KSZ9031, KSZ9021, KSZ8061, KS8737) support fetching statistics or not and was hoping to get feedback from community. Hi Grygorii Mi

Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

2017-04-11 Thread Andrew Lunn
> I've considered all this option, honestly, but I do not know if this > phys (issue should affect KSZ886X, KSZ8873MLL, KSZ9031, KSZ9021, KSZ8061, > KS8737) > support fetching statistics or not and was hoping to get feedback from > community. Hi Grygorii Microchip are one of the good guys. All

Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

2017-04-11 Thread Grygorii Strashko
On 04/10/2017 06:40 PM, Florian Fainelli wrote: > On 04/10/2017 04:33 PM, Grygorii Strashko wrote: >> Now the command: >> ethtool --phy-statistics eth0 >> will cause system crash with meassage "Unable to handle kernel NULL pointer >> dereference at virtual address 0010" from: >> >> (ksz

Re: [PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

2017-04-10 Thread Florian Fainelli
On 04/10/2017 04:33 PM, Grygorii Strashko wrote: > Now the command: > ethtool --phy-statistics eth0 > will cause system crash with meassage "Unable to handle kernel NULL pointer > dereference at virtual address 0010" from: > > (kszphy_get_stats) from [] (ethtool_get_phy_stats+0xd8/0x210

[PATCH] net: phy: micrel: KSZ9031: fix crash when statistic requested

2017-04-10 Thread Grygorii Strashko
Now the command: ethtool --phy-statistics eth0 will cause system crash with meassage "Unable to handle kernel NULL pointer dereference at virtual address 0010" from: (kszphy_get_stats) from [] (ethtool_get_phy_stats+0xd8/0x210) (ethtool_get_phy_stats) from [] (dev_ethtool+0x5b8/0x228