fix multiple issues in mt76u error path
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mt76: usb: fix possible NULL pointer dereference in mt76u_mcu_deinitdrivers/ | +5 | 0 replies | |
| 2/3 | mt76: usb: fix possible memory leak in mt76u_buf_freedrivers/ | +10 | 0 replies | |
| 3/3 | mt76: usb: do not run mt76u_queues_deinit twicedrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH wireless-drivers 0/3] fix multiple issues in mt76u error path
Fix following issues in mt76u initialization error path:
- NULL pointer dereference in mt76u_mcu_deinit
- possible memory leak in mt76u_buf_free
- use-after-free warning since mt76u_queues_deinit is run twice
This series has been tested running mt76x0u driver on rpi3+ (dwc_otg controller does not support SG I/O)
Lorenzo Bianconi (3):
mt76: usb: fix possible NULL pointer dereference in mt76u_mcu_deinit
mt76: usb: fix possible memory leak in mt76u_buf_free
mt76: usb: do not run mt76u_queues_deinit twice
drivers/net/wireless/mediatek/mt76/usb.c | 25 ++++++++++---------- drivers/net/wireless/mediatek/mt76/usb_mcu.c | 8 ++++--- 2 files changed, 17 insertions(+), 16 deletions(-)
Signature · 1 line
2.20.1