diff options
author | Todd Poynor <toddpoynor@google.com> | 2018-08-05 13:07:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-08 11:20:07 +0200 |
commit | 95a2c279b2c7c2e59977d5b0773a15ba26b7ce4b (patch) | |
tree | 2b377ae8e6df07631069437051f0a093d6a62b27 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 71934948b0a18c227de088a40c7660b5ed8cce2c (diff) |
staging: gasket: core: protect against races during unregister
Keep mutex held across the unregistration operation, until the
driver_desc field of the global table is removed, to prevent a
concurrent accessor from looking up the driver_desc while
gasket_unregister_device() is in the processing of removing it.
Reported-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions