qcacld-3.0: Use new api to check for leaks wlan_objmgr_psoc_check_for_leaks
The current implementaion check for peer, vdev and pdev leaks on psoc in order and if any leak is found for peer then QDF_DEBUG_PANIC is called and vdev and pdev leaks are not checked. Similar is the case if vdev leak is found, pdev leaks are not checked. Invoke new API to check for all the object leaks and then result in panic. Change-Id: Icf6622760f3646b82f893beb7415b95307e2ccd7 CRs-Fixed: 2604594
Cette révision appartient à :

révisé par
nshrivas

Parent
a04af933db
révision
9bf53ab36f
@@ -3166,9 +3166,7 @@ static void hdd_check_for_leaks(struct hdd_context *hdd_ctx, bool is_ssr)
|
||||
{
|
||||
/* DO NOT REMOVE these checks; for false positives, read above first */
|
||||
|
||||
wlan_objmgr_psoc_check_for_peer_leaks(hdd_ctx->psoc);
|
||||
wlan_objmgr_psoc_check_for_vdev_leaks(hdd_ctx->psoc);
|
||||
wlan_objmgr_psoc_check_for_pdev_leaks(hdd_ctx->psoc);
|
||||
wlan_objmgr_psoc_check_for_leaks(hdd_ctx->psoc);
|
||||
|
||||
/* many adapter resources are not freed by design during SSR */
|
||||
if (is_ssr)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur