Files
linux/drivers
Nicholas Nunley 9ef6589cac iavf: free q_vectors before queues in iavf_disable_vf
[ Upstream commit 89f22f1296 ]

iavf_free_queues() clears adapter->num_active_queues, which
iavf_free_q_vectors() relies on, so swap the order of these two function
calls in iavf_disable_vf(). This resolves a panic encountered when the
interface is disabled and then later brought up again after PF
communication is restored.

Fixes: 65c7006f23 ("i40evf: assign num_active_queues inside i40evf_alloc_queues")
Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-25 09:48:35 +01:00
..
2021-11-18 19:16:00 +01:00
2021-09-08 11:50:26 -07:00
2021-11-18 19:17:17 +01:00
2021-11-18 19:16:08 +01:00
2021-09-20 12:43:34 +01:00
2021-08-14 15:54:09 -06:00