[Intel-wired-lan] [Patch 0/2] iavf: Fix panics due to active work queues being freed in iavf_remove()
Ken Cox
jkc at redhat.com
Wed Dec 8 10:21:51 UTC 2021
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(-)
--
2.31.1
More information about the Intel-wired-lan
mailing list