diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-04-10 13:21:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 16:07:10 +0000 |
| commit | 6b614a87f3f477571e319281e84dba11e0ea0a76 (patch) | |
| tree | bb4455725169c7e4017c4bc6e27ccd981f1dc6d9 /fs/proc/array.c | |
| parent | virt: vbox: Log an error when we fail to get the host version (diff) | |
| download | kernel-6b614a87f3f477571e319281e84dba11e0ea0a76.tar.gz kernel-6b614a87f3f477571e319281e84dba11e0ea0a76.zip | |
ARM: amba: Fix race condition with driver_override
The driver_override implementation is susceptible to a race condition
when different threads are reading vs storing a different driver
override. Add locking to avoid this race condition.
Cfr. commits 6265539776a0810b ("driver core: platform: fix race
condition with driver_override") and 9561475db680f714 ("PCI: Fix race
condition with driver_override").
Fixes: 3cf385713460eb2b ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Todd Kjos <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
