Files
linux/drivers/pci
Nicolai Stange b08dc7d4cf PCI: Fix race condition with driver_override
commit 9561475db6 upstream.

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 the race condition.

This is in close analogy to commit 6265539776 ("driver core: platform:
fix race condition with driver_override") from Adrian Salido.

Fixes: 782a985d7a ("PCI: Introduce new device binding path using pci_dev.driver_override")
Signed-off-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-05 09:41:46 +02:00
..
2015-08-13 15:59:59 -05:00
2015-08-20 12:02:49 -05:00
2014-06-10 20:20:19 -06:00
2014-06-10 20:20:19 -06:00
2017-03-30 09:35:19 +02:00
2014-06-10 20:20:19 -06:00