diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-11-13 22:22:43 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-24 17:01:06 +0200 |
| commit | a31eb615646a63370aa1da1053c45439c7653d83 (patch) | |
| tree | c307ad4d4d333f001b6aa35e5284aedb56b74e91 /tools/perf/scripts/python/flamegraph.py | |
| parent | brcmfmac: fix error return code in brcmf_cfg80211_connect() (diff) | |
| download | linux-a31eb615646a63370aa1da1053c45439c7653d83.tar.gz linux-a31eb615646a63370aa1da1053c45439c7653d83.zip | |
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 <bigeasy@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201113212252.2243570-2-bigeasy@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
