Yinghai Lu
f796841e49
PCI: fix memleak for pci dev removing during hotplug
unreferenced object 0xffff880276d17700 (size 64):
comm "swapper/0", pid 1, jiffies 4294897182 (age 3976.028s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 18 f9 de 76 02 88 ff ff ...........v....
10 00 00 00 0e 00 00 00 0f 28 40 00 00 00 00 00 .........(@.....
backtrace:
[<ffffffff81c8aede>] kmemleak_alloc+0x26/0x43
[<ffffffff811385f0>] __kmalloc+0x121/0x183
[<ffffffff813cf821>] pci_add_cap_save_buffer+0x35/0x7c
[<ffffffff813d12b7>] pci_allocate_cap_save_buffers+0x1d/0x65
[<ffffffff813cdb52>] pci_device_add+0x92/0xf1
[<ffffffff81c8afe6>] pci_scan_single_device+0x9f/0xa1
[<ffffffff813cdbd2>] pci_scan_slot.part.20+0x21/0x106
[<ffffffff813cdce2>] pci_scan_slot+0x2b/0x35
[<ffffffff81c8dae4>] __pci_scan_child_bus+0x51/0x107
[<ffffffff81c8d75b>] pci_scan_bridge+0x376/0x6ae
[<ffffffff81c8db60>] __pci_scan_child_bus+0xcd/0x107
[<ffffffff81c8dbab>] pci_scan_child_bus+0x11/0x2a
[<ffffffff81cca58c>] pci_acpi_scan_root+0x18b/0x21c
[<ffffffff81c916be>] acpi_pci_root_add+0x1e1/0x42a
[<ffffffff81406210>] acpi_device_probe+0x50/0x190
[<ffffffff814a0227>] really_probe+0x99/0x126
Need to free saved_buffer for capabilities.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2012-02-23 12:08:53 -08:00
..
2012-02-14 08:45:03 -08:00
2012-02-17 09:22:03 -08:00
2005-10-18 08:26:15 -07:00
2012-01-06 12:10:34 -08:00
2012-01-11 18:50:26 -08:00
2012-01-06 12:10:50 -08:00
2011-10-31 19:31:22 -04:00
2007-10-12 14:51:01 -07:00
2011-10-31 19:31:22 -04:00
2011-12-06 09:21:05 +01:00
2012-02-17 09:22:03 -08:00
2011-10-31 19:31:22 -04:00
2011-12-06 09:21:05 +01:00
2011-10-14 09:05:33 -07:00
2012-01-06 14:02:26 -08:00
2010-12-23 12:53:07 -08:00
2011-08-19 08:51:37 -07:00
2012-01-06 12:10:29 -08:00
2012-02-17 09:22:04 -08:00
2012-01-03 22:54:55 -05:00
2010-12-23 12:53:52 -08:00
2012-02-14 08:44:53 -08:00
2012-02-23 12:08:53 -08:00
2012-02-23 12:08:53 -08:00
2012-02-23 12:08:53 -08:00
2010-11-17 08:59:32 -08:00
2012-02-14 08:45:26 -08:00
2012-02-14 08:44:59 -08:00
2011-10-31 19:31:22 -04:00
2010-07-30 09:47:22 -07:00
2012-02-23 12:00:04 -08:00
2011-07-22 08:26:06 -07:00
2012-02-14 08:44:54 -08:00
2011-10-31 19:31:23 -04:00
2009-07-12 12:22:34 -07:00
2011-10-31 19:31:22 -04:00
2012-01-04 17:01:17 -05:00