forked from MIrrors/gasket-driver
52f647e62e8ef4e815a7677dbebbaa3b6b59afcb
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>
Description
No description provided
Languages
C
99.8%
Makefile
0.2%