qcacmn: balance spin_lock_create (lro)
Adding lock stats print upon spinlock & mutex destroy. The spinlock destroy of the lro unloading lock in the napi context did not match the create in location. When a station adapter goes down and is brought back up, the mismatch appears. Change-Id: I137e6ffce3fb23f32a085b9fa36b065449a6d8a1 CRs-Fixed: 1111956
This commit is contained in:

zatwierdzone przez
qcabuildsw

rodzic
a4b5f900be
commit
d2e9dcd716
@@ -249,6 +249,7 @@ int hif_napi_destroy(struct hif_opaque_softc *hif_ctx,
|
||||
napii->netdev.napi_list.prev,
|
||||
napii->netdev.napi_list.next);
|
||||
|
||||
qdf_spinlock_destroy(&napii->lro_unloading_lock);
|
||||
netif_napi_del(&(napii->napi));
|
||||
|
||||
napid->ce_map &= ~(0x01 << ce);
|
||||
@@ -356,8 +357,6 @@ void hif_napi_lro_flush_cb_deregister(struct hif_opaque_softc *hif_hdl,
|
||||
napii->lro_ctx = NULL;
|
||||
qdf_spin_unlock_bh(
|
||||
&napii->lro_unloading_lock);
|
||||
qdf_spinlock_destroy(
|
||||
&napii->lro_unloading_lock);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user