diff options
| author | Tony Nguyen <[email protected]> | 2018-10-26 17:41:01 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2018-11-13 17:09:25 +0000 |
| commit | b354e98f49ce84b969e2c0e2bb44d026ea3c4900 (patch) | |
| tree | 0d95d6084813e478839fcf3092db54f0a45d0ce8 /drivers/net/ethernet/intel/ice/ice_sched.c | |
| parent | ice: Fix debug print in ice_tx_timeout (diff) | |
| download | kernel-b354e98f49ce84b969e2c0e2bb44d026ea3c4900.tar.gz kernel-b354e98f49ce84b969e2c0e2bb44d026ea3c4900.zip | |
ice: Check for q_vector when stopping rings
There is a gap in time between a VF reset, which sets the q_vector to
NULL, and the VF requesting mapping of the q_vectors. If
ice_vsi_stop_tx_rings() is called during this time, a NULL pointer
dereference is encountered. Add a check in ice_vsi_stop_tx_rings()
to ensure the q_vector is set to avoid this situation from occurring.
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions
