diff options
author | Xinming Hu <huxm@marvell.com> | 2017-05-23 10:12:31 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-31 16:54:08 +0300 |
commit | 42d1abb50ffc51c65e9cec735c8a9711296a05f7 (patch) | |
tree | 1ab564d6493d36619e988c542a04f3c5b742e992 /drivers/net/wireless/marvell/mwifiex/fw.h | |
parent | f4c5d5991590c4f640d5de245047444bf11f69d2 (diff) | |
download | linux-42d1abb50ffc51c65e9cec735c8a9711296a05f7.tar.xz |
mwifiex: usb: kill urb before free its memory
we have observed host system hang when device firmware crash,
stack trace show it was an use-after-free case: previous submitted
urb will be holding in usbcore, and given back to device driver
when device disconnected, while the urb have been freed in usb
device disconnect handler. This patch kill the holding urb before
free its memory.
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/fw.h')
0 files changed, 0 insertions, 0 deletions