diff options
| author | WeitaoWangoc <[email protected]> | 2020-10-27 11:16:20 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-11-07 17:49:57 +0200 |
| commit | c521d7e0ff05257bb9128ab7e68b8e2c084ed361 (patch) | |
| tree | 6954b86169167f2aa27c9e719e99453dd863cef2 /tools/perf/scripts/python | |
| parent | d56fd83cf99c5e4b257f5be46531420509ba5066 (diff) | |
rtlwifi: Fix non-canonical address access issues
During realtek USB wireless NIC initialization, it's unexpected
disconnection will cause urb sumbmit fail. On the one hand,
_rtl_usb_cleanup_rx will be called to clean up rx stuff, especially for
rtl_wq. On the other hand, disconnection will cause rtl_usb_disconnect
and _rtl_usb_cleanup_rx to be called. So, rtl_wq will be flush/destroy
twice, which will cause non-canonical address 0xdead000000000122 access
and general protection fault.
Fixed this issue by remove _rtl_usb_cleanup_rx when urb sumbmit fail.
Signed-off-by: WeitaoWangoc <[email protected]>
Acked-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions