qcacmn: Handle the duplicate entries in reo exception ring
We have come across scenarios where rxdma is pushing a certain entry more than once to the reo exception ring. In this scenario, when we try to unmap a buffer, it can lead to multiple unmap of the same buffer. Handle this case, by skipping the process of this duplicate entry, if alrady unmapped, and proceed to the next entry. Change-Id: Iae66f27e432f795ba4730911029fa1d63a75cb06 CRs-Fixed: 2739176
此提交包含在:
@@ -1840,8 +1840,7 @@ QDF_STATUS dp_rx_desc_nbuf_sanity_check(hal_ring_desc_t ring_desc,
|
||||
|
||||
hal_rx_reo_buf_paddr_get(ring_desc, &hbi);
|
||||
/* Sanity check for possible buffer paddr corruption */
|
||||
if ((&hbi)->paddr ==
|
||||
qdf_nbuf_get_frag_paddr(rx_desc->nbuf, 0))
|
||||
if (dp_rx_desc_paddr_sanity_check(rx_desc, (&hbi)->paddr))
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
新增問題並參考
封鎖使用者