diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2020-11-13 22:22:43 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-11-24 17:01:06 +0200 |
commit | a31eb615646a63370aa1da1053c45439c7653d83 (patch) | |
tree | c307ad4d4d333f001b6aa35e5284aedb56b74e91 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 37ff144d29acd7bca3d465ce2fc4cb5c7072a7e5 (diff) |
orinoco: Move context allocation after processing the skb
ezusb_xmit() allocates a context which is leaked if
orinoco_process_xmit_skb() returns an error.
Move ezusb_alloc_ctx() after the invocation of
orinoco_process_xmit_skb() because the context is not needed so early.
ezusb_access_ltv() will cleanup the context in case of an error.
Fixes: bac6fafd4d6a0 ("orinoco: refactor xmit path")
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions