]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: fix potential NULL pointer dereference in brcmf_fws_flow_control_check()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 19 Apr 2013 02:14:31 +0000 (10:14 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:25 +0000 (15:20 -0400)
commit78d69a6a6e133e7dc1ef2565bbdf50e8c0caad41
treef8fbf0e5139463a2deeffdeb30a3039009b29e9d
parenta965de104e977aeefbbd53d8fd4833d45f43b65f
brcmfmac: fix potential NULL pointer dereference in brcmf_fws_flow_control_check()

The dereference to 'ifp' in debug code should be moved below the NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c