iavf: Fix panics due to active work queues being freed in iavf_remove()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iavf: Fix panic in iavf_removedrivers/ | +1 | 3 replies | |
| 1/2 | iavf: Fix panic in iavf_remove | +0 | 0 replies | |
| 2/2 | iavf: Prevent reset from being scheduled while adapter is being removeddrivers/ drivers/ drivers/ | +18 | 3 replies | |
| 2/2 | iavf: Prevent reset from being scheduled while adapter is being removed | +0 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Konrad Jankowski |
|---|---|
| 1/2 | T-b |
| 1/2 | T-b |
| 2/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [Patch 0/2] iavf: Fix panics due to active work queues being freed in iavf_remove()
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
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(-)
Signature · 1 line
2.31.1