summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/of.h
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2015-10-08 20:33:12 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-10-21 10:56:39 +0300
commit185f0eb0b5fab0c9bfd7c5d322e2cd05b951d6e8 (patch)
tree72dfe6af7ec61c156bb558580b3e90e2aa11764d /drivers/net/wireless/brcm80211/brcmfmac/of.h
parentff4445a8502cdf06969540c92bb201ee47e70351 (diff)
brcmfmac: Fix race condition between USB probe/load and disconnect.
When a USB device gets disconnected due to for example removal then it is possible that it is still in the loading phase due to the asynchronous load routines. These routines can then possible access memory which has been freed. Fix this by mutex locking the device init phase. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/of.h')
0 files changed, 0 insertions, 0 deletions