Dexuan Cui 533ca1feed PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
The slot must be removed before the pci_dev is removed, otherwise a panic
can happen due to use-after-free.

Fixes: 15becc2b56c6 ("PCI: hv: Add hv_pci_remove_slots() when we unload the driver")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org
2019-08-12 14:14:00 +01:00
..
2019-05-14 10:30:10 -07:00
2019-07-15 20:44:49 -07:00
2019-07-09 07:24:53 -05:00
2018-03-19 14:20:43 -05:00
2019-01-14 17:01:20 -06:00
2019-07-09 07:24:53 -05:00
2019-07-15 20:44:49 -07:00
2019-07-15 20:44:49 -07:00
2018-03-19 14:20:43 -05:00
2018-10-02 10:14:32 +02:00
2019-07-15 20:44:49 -07:00
2019-07-15 20:44:49 -07:00
2019-07-15 20:44:49 -07:00
2019-07-11 11:13:26 -05:00
2018-06-29 21:17:26 -05:00
2018-03-19 14:20:43 -05:00
2019-06-13 16:49:45 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2019-05-13 18:34:46 -05:00