Skip to content

iavf: Fix panics due to active work queues being freed in iavf_remove()

Ken Cox intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-wired-lan] [Patch 0/2] iavf: Fix panics due to active work queues being freed in iavf_remove()
Quoted 11 lines · Ken Cox

This series fixes panics that occur after iavf_remove() is called.

The panics occur because the iavf_adapter structure is freed at the end
of iavf_remove(), but it is possible that new work has been scheduled using
the work_struct's contained within the iavf_adapter structure. If this occurs, the system will panic when it later tries to process the work queue.

Ken Cox (2):
iavf: Fix panic in iavf_remove
iavf: Prevent reset from being scheduled while adapter is being
removed

Quoted 5 lines
  drivers/net/ethernet/intel/iavf/iavf_ethtool.c  |  7 +++++--
  drivers/net/ethernet/intel/iavf/iavf_main.c     | 17 +++++++++++------
  drivers/net/ethernet/intel/iavf/iavf_virtchnl.c |  4 +++-
  3 files changed, 19 insertions(+), 9 deletions(-)

NAK for this series.

These patches were generated off of the wrong branch. I will re-evaluate and re-submit if necessary.