diff options
| author | Timur Tabi <timur@codeaurora.org> | 2016-10-14 14:14:35 -0500 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-10-15 17:34:43 -0400 | 
| commit | 93966b715b32a783a1641f5a385901bbfab04733 (patch) | |
| tree | 4e79dc8d5a2f9ba30914935ac1c2080f0efb3b2f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f0076436136751359e0886f3302a2a0b3a28ba6e (diff) | |
net: qcom/emac: disable interrupts before calling phy_disconnect
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 <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
