linux-stable-rt/arch/x86/pci
Shyam Iyer 5307f6d5fb Fix pointer dereference before call to pcie_bus_configure_settings
Commit b03e7495a8 ("PCI: Set PCI-E Max Payload Size on fabric")
introduced a potential NULL pointer dereference in calls to
pcie_bus_configure_settings due to attempts to access pci_bus self
variables when the self pointer is NULL.

To correct this, verify that the self pointer in pci_bus is non-NULL
before dereferencing it.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Shyam Iyer <shyam_iyer@dell.com>
Signed-off-by: Jon Mason <mason@myri.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-09 19:49:58 -07:00
..
Makefile
acpi.c Fix pointer dereference before call to pcie_bus_configure_settings 2011-09-09 19:49:58 -07:00
amd_bus.c
broadcom_bus.c
bus_numa.c
bus_numa.h
ce4100.c x86/PCI: config space accessor functions should not ignore the segment argument 2011-07-22 08:25:41 -07:00
common.c x86/PCI: Preserve existing pci=bfsort whitelist for Dell systems 2011-07-22 08:44:28 -07:00
direct.c x86/PCI: config space accessor functions should not ignore the segment argument 2011-07-22 08:25:41 -07:00
early.c
fixup.c
i386.c x86: Fix common misspellings 2011-03-18 10:39:30 +01:00
init.c
irq.c x86/PCI: irq and pci_ids patch for Intel Panther Point DeviceIDs 2011-05-10 15:43:36 -07:00
legacy.c
mmconfig-shared.c x66, UV: Enable 64-bit ACPI MFCG support for SGI UV2 platform 2011-06-03 16:00:03 +02:00
mmconfig_32.c
mmconfig_64.c
mrst.c
numaq_32.c x86/PCI: config space accessor functions should not ignore the segment argument 2011-07-22 08:25:41 -07:00
olpc.c x86/PCI: config space accessor functions should not ignore the segment argument 2011-07-22 08:25:41 -07:00
pcbios.c x86/PCI: config space accessor functions should not ignore the segment argument 2011-07-22 08:25:41 -07:00
visws.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
xen.c xen/pci: Use 'acpi_gsi_to_irq' value unconditionally. 2011-07-11 13:19:34 -04:00