diff options
| author | Peter S. Housel <[email protected]> | 2017-06-12 11:46:22 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-06-13 09:59:45 +0300 |
| commit | 5ea59db8a375216e6c915c5586f556766673b5a7 (patch) | |
| tree | 5d03ccb31b8ffa51c30cae91640597d9044b2265 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a9507d5cfd5225cb6ee68e8de0cf7ffd0d49cdda (diff) | |
brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain
An earlier change to this function (3bdae810721b) fixed a leak in the
case of an unsuccessful call to brcmf_sdiod_buffrw(). However, the
glom_skb buffer, used for emulating a scattering read, is never used
or referenced after its contents are copied into the destination
buffers, and therefore always needs to be freed by the end of the
function.
Fixes: 3bdae810721b ("brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain")
Fixes: a413e39a38573 ("brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support")
Cc: [email protected] # 4.9.x-
Signed-off-by: Peter S. Housel <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions