diff options
author | Reto Schneider <code@reto-schneider.ch> | 2020-06-22 15:21:11 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-07-15 13:37:12 +0300 |
commit | ec89032cd148f8805c5adf5d38f1f382036f5a5c (patch) | |
tree | 5709ff5e9562cda0b44e0074f44e9fbbbac422d0 /drivers/net/wireless/ralink | |
parent | f8279dad4e36c1e8fcdb54114306eca879275e30 (diff) |
rtlwifi: rtl8192cu: Fix deadlock
Prevent code from calling itself indirectly, causing the driver to hang
and consume 100% CPU.
Without this fix, the following script can bring down a single CPU
system:
```
while true; do
rmmod rtl8192cu
modprobe rtl8192cu
done
```
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200622132113.14508-2-code@reto-schneider.ch
Diffstat (limited to 'drivers/net/wireless/ralink')
0 files changed, 0 insertions, 0 deletions