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
Unknown Object (File)
Tue, Sep 22, 1:58 PM
Unknown Object (File)
Fri, Sep 11, 3:54 PM
Unknown Object (File)
Fri, Sep 11, 2:42 PM
Unknown Object (File)
Fri, Sep 11, 2:22 AM
Unknown Object (File)
Tue, Sep 8, 2:44 AM
Unknown Object (File)
Mon, Sep 7, 9:58 AM
Unknown Object (File)
Sun, Sep 6, 11:01 AM
Unknown Object (File)
Sun, Sep 6, 10:55 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable