]> Git Repo - linux.git/commit
brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain
authorFlorian Fainelli <[email protected]>
Mon, 18 Jul 2016 23:24:34 +0000 (16:24 -0700)
committerKalle Valo <[email protected]>
Tue, 19 Jul 2016 18:14:19 +0000 (21:14 +0300)
commit3bdae810721b33061d2e541bd78a70f86ca42af3
tree12c5a76db4b36157bb52ca5d759db84aa04d3ef6
parentcc2d1de06f0572a51437d1f31633d81afea5eb47
brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain

In case brcmf_sdiod_recv_chain() cannot complete a succeful call to
brcmf_sdiod_buffrw, we would be leaking glom_skb and not free it as we
should, fix this.

Reported-by: coverity (CID 1164856)
Fixes: a413e39a38573 ("brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support")
Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
This page took 0.043927 seconds and 4 git commands to generate.