[dpdk-dev] [PATCH v1] igb_uio: fix unexpected removal for hot-unplug

Ferruh Yigit ferruh.yigit at intel.com
Mon Oct 22 13:13:48 CEST 2018

On 10/19/2018 9:35 AM, Jeff Guo wrote:
> On 10/19/2018 12:06 AM, Ferruh Yigit wrote:
>> On 10/18/2018 7:27 AM, Jeff Guo wrote:
>>> When a device is hot-unplugged, pci_remove will be invoked unexpectedly
>>> before pci_release, it will caused kernel hung issue which will throw the
>>> error info of "Trying to free already-free IRQ XXX". And on the other hand,
>>> if pci_remove before pci_release, the interrupt will not got chance to be
>>> disabled. So this patch aim to fix this issue by adding pci_release call
>>> in pci_remove, it will gurranty that all pci clean up will be done before
>>> pci removal.
>>> Signed-off-by: Jeff Guo <jia.guo at intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

More information about the dev mailing list