summaryrefslogtreecommitdiff
path: root/fs/ocfs2/localalloc.c
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2015-09-18 22:08:16 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-09-29 10:56:03 +0300
commita2044d91d9d25a0e9e2abb43ca90cceee032f6ee (patch)
treecb360d4f6acad3c3a60655f8cf70b0938b80a7d2 /fs/ocfs2/localalloc.c
parent8268c2011d255b547a9093977e728af5cf16d69e (diff)
brcmfmac: Fix race condition bug when deleting p2p interface.
When p2p device interface gets deleted by deinitialising discovery it will result in an event which removes the interface, but that is also done by delete p2p interface code. This results in race condition which sometimes results in lockup/crash. With this patch the delete device interface will wait for the event (with timeout) removing the possible race condition. Also on the stop device call from cfg80211 the deinitialisation of the discovery device should be avoided as it can result in a similar situation. 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 'fs/ocfs2/localalloc.c')
0 files changed, 0 insertions, 0 deletions