From: Timur Tabi <ti...@codeaurora.org> Date: Fri, 14 Oct 2016 14:14:35 -0500
> There is a race condition that can occur if EMAC interrupts are > enabled when phy_disconnect() is called. phy_disconnect() sets > adjust_link to NULL. When an interrupt occurs, the ISR might > call phy_mac_interrupt(), which wakes up the workqueue function > phy_state_machine(). This function might reference adjust_link, > thereby causing a null pointer exception. > > Signed-off-by: Timur Tabi <ti...@codeaurora.org> Applied.