Files
linux/drivers/base
Adrian Salido c4c592b2c1 driver core: platform: fix race condition with driver_override
commit 6265539776 upstream.

The driver_override implementation is susceptible to race condition when
different threads are reading vs storing a different driver override.
Add locking to avoid race condition.

Fixes: 3d713e0e38 ("driver core: platform: add device binding path 'driver_override'")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Salido <salidoa@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-12 15:01:02 +02:00
..
2015-09-17 06:06:54 -07:00
2016-08-31 15:19:55 +02:00
2016-01-22 18:04:28 -05:00
2014-09-01 13:48:59 +02:00