[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
Tue Dec 14 13:21:49 UTC 2021



On 12/8/21 04:21, Ken Cox wrote:
> 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(-)
> 
NAK for this series.

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



More information about the Intel-wired-lan mailing list