linux_dsm_epyc7002/drivers/net/wireless/brcm80211
Arend van Spriel 2d116b8849 brcmfmac: fix memory leakage in msgbuf
The kbuild robot came up with the following warning:

tree:   .../kernel/git/linville/wireless-next.git master
head:   dc6be9f54a
commit: 9a1bb60250
	 [5/13] brcmfmac: Adding msgbuf protocol.

coccinelle warnings:
 drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c:1309:1-28:
   alloc with no test, possible model on line 1318

Looking into the issue, it turned out that the referred allocation
buffer was not being released in failure path nor upon module
unload.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-08-11 14:43:51 -04:00
..
brcmfmac brcmfmac: fix memory leakage in msgbuf 2014-08-11 14:43:51 -04:00
brcmsmac Merge tag 'master-2014-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2014-07-28 17:36:25 -07:00
brcmutil brcmutil: assure unused bits are cleared in 11n chanspec 2014-05-29 13:10:25 -04:00
include brcmfmac: Adding PCIe bus layer support. 2014-07-31 13:45:26 -04:00
Kconfig brcmfmac: Adding PCIe bus layer support. 2014-07-31 13:45:26 -04:00
Makefile brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00