linux/drivers/net/wireless/broadcom
Florian Fainelli 5c5fa1f464 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: 67d0cf50bd ("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>
2016-07-19 21:14:20 +03:00
..
b43 b43: Completely remove support for phy_a 2016-06-16 18:23:18 +03:00
b43legacy cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
brcm80211 brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill 2016-07-19 21:14:20 +03:00
Kconfig brcm80211: move under broadcom vendor directory 2015-11-18 11:24:22 +02:00
Makefile brcm80211: move under broadcom vendor directory 2015-11-18 11:24:22 +02:00