diff options
| author | Fugang Duan <[email protected]> | 2020-12-07 10:51:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-12-08 22:52:29 +0000 |
| commit | 5f58591323bf3f342920179f24515935c4b5fd60 (patch) | |
| tree | f3834bde53b04112b9bdc5443571bfa6f1a6f23b /net/tipc/node.c | |
| parent | net: stmmac: free tx skb buffer in stmmac_resume() (diff) | |
| download | kernel-5f58591323bf3f342920179f24515935c4b5fd60.tar.gz kernel-5f58591323bf3f342920179f24515935c4b5fd60.zip | |
net: stmmac: delete the eee_ctrl_timer after napi disabled
There have chance to re-enable the eee_ctrl_timer and fire the timer
in napi callback after delete the timer in .stmmac_release(), which
introduces to access eee registers in the timer function after clocks
are disabled then causes system hang. Found this issue when do
suspend/resume and reboot stress test.
It is safe to delete the timer after napi disabled and disable lpi mode.
Fixes: d765955d2ae0b ("stmmac: add the Energy Efficient Ethernet support")
Signed-off-by: Fugang Duan <[email protected]>
Signed-off-by: Joakim Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
