HomeFreeBSD

iw_cxgbe: Fix panic that occurs when c4iw_ev_handler tries to acquire

Description

iw_cxgbe: Fix panic that occurs when c4iw_ev_handler tries to acquire
comp_handler_lock but c4iw_destroy_cq has already freed the CQ memory
(which is where the lock resides).

Submitted by: Krishnamraju Eraparaju @ Chelsio
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on
Parents
rS301157: Microoptimize locking primitives by avoiding unnecessary atomic ops.
Branches
Unknown
Tags
Unknown