]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: bail out of brcmf_txflowblock_if() for non-netdev interface
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Jul 2013 10:46:24 +0000 (12:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:04:09 +0000 (16:04 -0400)
commit23d412a2e94f55b84dbf9d5e64f381677bc90575
treeff4586db717c34a557a00aed7e6c9abaa26273c1
parent28a905b51c2b3fabbb0eb53af229fc365200e398
brcmfmac: bail out of brcmf_txflowblock_if() for non-netdev interface

To avoid ending up in a NULL-pointer access, the function
brcmf_txflowblock_if() should only be called for interfaces
that have a netdev associated with it.

Reviewed-by: Hante Meuleman <meuleman@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>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c