From: Xander Huff <xander.h...@ni.com> Date: Fri, 7 Oct 2016 10:13:22 -0500
> From: Nathan Sullivan <nathan.sulli...@ni.com> > > To ensure the dev->phydev pointer is not used after becoming invalid in > mdiobus_unregister, set it to NULL. This happens when removing the macb > driver without first taking its interface down, since unregister_netdev > will end up calling macb_close. > > Signed-off-by: Xander Huff <xander.h...@ni.com> > Signed-off-by: Nathan Sullivan <nathan.sulli...@ni.com> > Signed-off-by: Brad Mouring <brad.mour...@ni.com> Applied.