Zhang Yanmin d71374dafb [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev
pci_walk_bus has a race with pci_destroy_dev. When cb is called
in pci_walk_bus, pci_destroy_dev might unlink the dev pointed by next.
Later on in the next loop, pointer next becomes NULL and cause
kernel panic.

Below patch against 2.6.17-rc4 fixes it by changing pci_bus_lock (spin_lock)
to pci_bus_sem (rw_semaphore).

Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 12:00:01 -07:00
..
2006-06-20 01:21:29 -07:00
2006-06-17 10:44:26 -07:00
2006-06-17 21:25:58 -07:00
2006-05-03 20:05:41 -07:00
2006-06-20 01:21:29 -07:00
2006-06-20 01:21:29 -07:00
2006-05-21 12:59:18 -07:00
2006-06-17 21:30:14 -07:00
2006-06-12 22:10:22 +01:00
2006-06-19 15:37:31 +01:00
2006-06-05 12:29:17 -07:00
2006-06-20 01:21:29 -07:00
2006-05-03 20:05:41 -07:00
2006-03-23 07:38:16 -08:00
2006-03-24 18:23:14 +01:00
2006-06-17 21:18:43 -07:00
2006-06-17 21:18:43 -07:00