Page MenuHomeFreeBSD

Remove adapters from t4_list earlier during detach.
ClosedPublic

Authored by jhb on Oct 9 2019, 12:24 AM.
Tags
None
Referenced Files
F170757563: D21952.id63099.diff
Sun, Sep 6, 11:01 AM
F170756957: D21952.diff
Sun, Sep 6, 10:55 AM
Unknown Object (File)
Sat, Sep 5, 1:13 AM
Unknown Object (File)
Fri, Sep 4, 4:33 PM
Unknown Object (File)
Fri, Sep 4, 4:58 AM
Unknown Object (File)
Thu, Sep 3, 12:46 PM
Unknown Object (File)
Thu, Sep 3, 11:51 AM
Unknown Object (File)
Tue, Sep 1, 12:53 PM
Subscribers

Details

Summary

This ensures the clip task won't race with t4_destroy_clip_table.

While here, make some mutex destroys unconditional since attach
always initializes them.

Test Plan
  • kldunload of if_cxgbe panicked due to the clip task racing with the clip table being destroyed
  • with this change and the fix for vmem_destroy, kldunload of if_cxgbe no longer panics

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 26944
Build 25247: arc lint + arc unit