git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus/pci: clear driver on detach
[dpdk.git]
/
drivers
/
bus
/
pci
/
pci_common.c
diff --git
a/drivers/bus/pci/pci_common.c
b/drivers/bus/pci/pci_common.c
index
6b46b4f
..
3f55420
100644
(file)
--- a/
drivers/bus/pci/pci_common.c
+++ b/
drivers/bus/pci/pci_common.c
@@
-247,6
+247,7
@@
rte_pci_detach_dev(struct rte_pci_device *dev)
/* clear driver structure */
dev->driver = NULL;
+ dev->device.driver = NULL;
if (dr->drv_flags & RTE_PCI_DRV_NEED_MAPPING)
/* unmap resources for devices that use igb_uio */