summaryrefslogtreecommitdiff
path: root/drivers/base/Kconfig
diff options
context:
space:
mode:
authorAdrian Salido <salidoa@google.com>2017-04-25 16:55:26 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-15 11:57:44 +0200
commitc01ace719ebe6353f0c96e56f6c75c22ad3f67b0 (patch)
tree8d7f40c3063789322736e237b929920c735d2573 /drivers/base/Kconfig
parent4043d5bca587eab2dfcca5e2da7e770d16b127c8 (diff)
driver core: platform: fix race condition with driver_override
commit 6265539776a0810b7ce6398c27866ddb9c6bd154 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: 3d713e0e382e ("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>
Diffstat (limited to 'drivers/base/Kconfig')
0 files changed, 0 insertions, 0 deletions