HomeFreeBSD

cxgbe(4): Empty the clib_db before trying to destroy it.

Description

cxgbe(4): Empty the clib_db before trying to destroy it.

This fixes a panic on driver unload.

Reported by: Jithesh Arakkan @ Chelsio
Sponsored by: Chelsio Communications

(cherry picked from commit bb877c0620347eb86f25f4382c42d58685c348d4)

Details

Provenance
npAuthored on Jun 4 2021, 7:01 PM
Parents
rGb58fc654a9b4: cxgbe(4): Use correct argument in call to hashdestroy.
Branches
Unknown
Tags
Unknown