diff options
| author | Lorenzo Bianconi <[email protected]> | 2019-02-10 22:49:14 +0100 | 
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2019-02-18 19:55:50 +0100 | 
| commit | cb83585e1121bd6d6c039cf09fa32380bf8b6258 (patch) | |
| tree | e5b99c17950e303e3a26a7ad1fafb045befb86c0 /tools/perf/scripts/python/futex-contention.py | |
| parent | bdba48d57a5509a6531e162394f157250d893aaf (diff) | |
mt76: usb: fix possible memory leak in mt76u_buf_free
Move q->ndesc initialization before the for loop in mt76u_alloc_rx
since otherwise allocated urbs will not be freed in mt76u_buf_free
Double-check scatterlist pointer in mt76u_buf_free
Fixes: b40b15e1521f ("mt76: add usb support to mt76 layer")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions