Jiri Slaby 2a63dd7275 xen-pcifront: fix PCI reference leak
Stanse found that when pdev is found and has no driver a reference is
leaked in pcifront_common_process. So add pci_dev_put there. For the
pdev == NULL case, pci_dev_put(NULL) is fine.

[v2: Updated to not dereference pcidev->dev per Milton's observation]

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Milton Miller <miltonm@bga.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-11-08 11:41:15 -05:00
..
2010-10-12 16:53:37 +02:00
2010-10-18 10:49:37 -04:00
2010-10-17 20:03:03 -07:00
2010-10-17 20:03:06 -07:00
2010-10-17 20:03:05 -07:00
2009-02-13 12:01:56 -08:00
2010-07-30 09:47:22 -07:00
2010-07-30 09:47:22 -07:00
2010-10-17 20:03:05 -07:00
2010-08-31 15:28:00 -07:00
2009-07-12 12:22:34 -07:00