Rafael J. Wysocki
2d7c1b77dd
ACPI / hotplug / PCI: Remove entries from bus->devices in reverse order
...
According to the changelog of commit 29ed1f29b68a (PCI: pciehp: Fix null
pointer deref when hot-removing SR-IOV device) it is unsafe to walk the
bus->devices list of a PCI bus and remove devices from it in direct order,
because that may lead to NULL pointer dereferences related to virtual
functions.
For this reason, change all of the bus->devices list walks in
acpiphp_glue.c during which devices may be removed to be carried out in
reverse order.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2014-02-03 22:28:02 +01:00
..
2014-01-29 11:47:18 +01:00
2014-01-24 15:51:02 -08:00
2014-01-25 13:18:00 -08:00
2014-01-30 17:20:32 -08:00
2014-01-31 08:38:18 -08:00
2014-01-08 13:44:29 -05:00
2014-01-31 15:15:13 -08:00
2014-01-30 11:40:10 -08:00
2014-01-30 10:02:54 -08:00
2014-01-28 18:44:53 -08:00
2014-01-31 21:04:01 -08:00
2014-01-31 09:23:52 -08:00
2014-01-29 17:02:24 +11:00
2014-01-23 18:49:36 -08:00
2014-01-29 11:48:23 +01:00
2014-01-29 20:27:23 -08:00
2014-01-20 12:10:27 -08:00
2014-01-17 14:57:29 -07:00
2014-01-09 09:53:30 +09:00
2014-01-20 01:11:13 +01:00
2014-01-27 21:02:40 -08:00
2014-01-23 18:49:36 -08:00
2014-01-29 20:49:12 -08:00
2014-01-31 09:31:14 -08:00
2014-01-27 16:40:45 -08:00
2014-02-02 17:59:07 +01:00
2014-01-29 19:56:20 -08:00
2014-01-28 23:35:09 -08:00
2014-01-24 15:51:02 -08:00
2014-01-22 21:21:55 -08:00
2014-01-31 15:31:23 -08:00
2014-01-24 17:17:30 -08:00
2014-01-29 20:00:13 -08:00
2014-01-31 14:59:28 -08:00
2014-01-25 11:17:34 -08:00
2014-01-28 18:53:01 -08:00
2014-01-27 21:11:26 -08:00
2014-01-23 16:36:53 -08:00
2014-01-30 11:40:10 -08:00
2014-01-31 09:31:14 -08:00
2014-01-23 16:37:04 -08:00
2014-01-30 11:19:05 -08:00
2014-01-25 13:19:10 -08:00
2014-01-29 18:56:27 -08:00
2014-01-26 11:00:41 -08:00
2014-01-30 20:04:09 -08:00
2014-01-30 18:44:44 -08:00
2014-01-09 01:27:20 +01:00
2014-01-25 11:17:34 -08:00
2014-01-20 16:05:23 -08:00
2014-02-03 22:28:02 +01:00
2014-01-22 16:39:28 -08:00
2014-01-25 11:17:34 -08:00
2014-01-23 18:45:38 -08:00
2014-01-29 20:06:01 -08:00
2014-01-12 23:48:18 +01:00
2014-01-25 11:17:34 -08:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-01-25 13:19:10 -08:00
2014-01-23 19:11:50 -08:00
2014-01-31 08:37:32 -08:00
2014-01-28 23:38:23 -08:00
2014-01-31 15:31:23 -08:00
2014-01-29 16:53:55 +11:00
2014-01-30 17:20:32 -08:00
2014-02-01 10:29:59 -08:00
2014-01-31 15:31:23 -08:00
2014-01-24 17:13:49 -08:00
2014-01-30 17:20:32 -08:00
2014-01-29 16:53:55 +11:00
2014-01-27 21:11:26 -08:00
2014-01-31 15:31:23 -08:00
2014-02-02 20:56:47 +01:00
2014-01-22 22:24:35 -08:00
2014-01-23 16:36:55 -08:00
2014-01-23 16:37:04 -08:00
2014-01-28 21:35:40 +01:00
2014-01-31 08:38:18 -08:00