qcacmn: fix tx desc allocate from freed pool issue
The avail_desc is not set to 0 when the tx desc pool is freed, later if still try to allocate tx desc by judgement of avail_desc, panic happens. Change-Id: Ia4565da1caa6898c6d4293e2658cf4ccf89563fa CRs-Fixed: 2246328
这个提交包含在:
@@ -166,6 +166,7 @@ QDF_STATUS dp_tx_desc_pool_free(struct dp_soc *soc, uint8_t pool_id)
|
||||
qdf_mem_multi_pages_free(soc->osdev,
|
||||
&tx_desc_pool->desc_pages, 0, true);
|
||||
TX_DESC_LOCK_DESTROY(&tx_desc_pool->lock);
|
||||
TX_DESC_POOL_MEMBER_CLEAN(tx_desc_pool);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户