Home
last modified time | relevance | path

Searched hist:"2 a63dd7275b2278bd7e9203f74b9aa4f07e82a7a" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pci/
H A Dxen-pcifront.cdiff 2a63dd7275b2278bd7e9203f74b9aa4f07e82a7a Thu Nov 04 15:31:30 CET 2010 Jiri Slaby <jslaby@suse.cz> 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>