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
MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Jun 4 2021, 7:01 PM
Parents
rG2290dfb40fce: Enter the net epoch before calling ip6_setpktopts
Branches
Unknown
Tags
Unknown