aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHante Meuleman <[email protected]>2015-10-08 20:33:12 +0200
committerKalle Valo <[email protected]>2015-10-21 10:56:39 +0300
commit185f0eb0b5fab0c9bfd7c5d322e2cd05b951d6e8 (patch)
tree72dfe6af7ec61c156bb558580b3e90e2aa11764d /tools/perf/util/trace-event-scripting.c
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 <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Hante Meuleman <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions