diff options
author | Johan Hovold <johan@kernel.org> | 2019-11-28 18:22:02 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-12-18 20:57:05 +0200 |
commit | 47768297481184932844ab01a86752ba31a38861 (patch) | |
tree | f2548ec42d77aaafeb3cc67de0b83c37268bca66 /lib/ts_fsm.c | |
parent | 92aafe77123ab478e5f5095878856ab0424910da (diff) |
rsi: fix memory leak on failed URB submission
Make sure to free the skb on failed receive-URB submission (e.g. on
disconnect or currently also due to a missing endpoint).
Fixes: a1854fae1414 ("rsi: improve RX packet handling in USB interface")
Cc: stable <stable@vger.kernel.org> # 4.17
Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions