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)
Mar 7 2024, 8:31 PM
Unknown Object (File)
Dec 20 2023, 6:01 AM
Unknown Object (File)
Dec 11 2023, 1:48 PM
Unknown Object (File)
Oct 29 2023, 11:40 AM
Unknown Object (File)
Sep 5 2023, 8:31 PM
Unknown Object (File)
Jun 3 2023, 8:04 AM
Unknown Object (File)
May 24 2023, 5:11 PM
Unknown Object (File)
May 14 2023, 6:39 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

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