aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorTony Nguyen <[email protected]>2018-10-26 17:41:01 +0000
committerJeff Kirsher <[email protected]>2018-11-13 17:09:25 +0000
commitb354e98f49ce84b969e2c0e2bb44d026ea3c4900 (patch)
tree0d95d6084813e478839fcf3092db54f0a45d0ce8 /drivers/net/ethernet/intel/ice/ice_sched.c
parentice: Fix debug print in ice_tx_timeout (diff)
downloadkernel-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