diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-18 16:24:35 -0700 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-07-19 21:14:20 +0300 |
| commit | 5c5fa1f464ac954982df1d96b9f9a5103d21aedd (patch) | |
| tree | 16cbb3041f805c8b46829f2e548c4761b4883963 /scripts/gdb/linux/utils.py | |
| parent | 3bdae810721b33061d2e541bd78a70f86ca42af3 (diff) | |
brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill
In case dma_mapping_error() returns an error in dma_rxfill, we would be
leaking a packet that we allocated with brcmu_pkt_buf_get_skb().
Reported-by: coverity (CID 1081819)
Fixes: 67d0cf50bd32 ("brcmsmac: Fix WARNING caused by lack of calls to dma_mapping_error()")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
