|
@@ -7758,6 +7758,8 @@ static pci_ers_result_t ixgbe_io_error_detected(struct pci_dev *pdev,
|
|
if (vfdev) {
|
|
if (vfdev) {
|
|
e_dev_err("Issuing VFLR to VF %d\n", vf);
|
|
e_dev_err("Issuing VFLR to VF %d\n", vf);
|
|
pci_write_config_dword(vfdev, 0xA8, 0x00008000);
|
|
pci_write_config_dword(vfdev, 0xA8, 0x00008000);
|
|
|
|
+ /* Free device reference count */
|
|
|
|
+ pci_dev_put(vfdev);
|
|
}
|
|
}
|
|
|
|
|
|
pci_cleanup_aer_uncorrect_error_status(pdev);
|
|
pci_cleanup_aer_uncorrect_error_status(pdev);
|