qcacmn: Fix the next link descriptor read issue

Link descriptor were getting freed by the pointer
of the previous freed link descriptor. This patch
fixes by copying the address of the current in a
local descriptor info and using it to free the
current.

Change-Id: I95e137ba5b1f0ad21b0e6fb39f6671e1d5b65ba6
CRs-Fixed: 2577624
这个提交包含在:
Aniruddha Paul
2019-11-27 18:48:04 +05:30
提交者 nshrivas
父节点 efa9f5d2a9
当前提交 33fce952a9
修改 7 个文件,包含 57 行新增42 行删除

查看文件

@@ -978,7 +978,7 @@ dp_rx_link_desc_return(struct dp_soc *soc, hal_ring_desc_t ring_desc,
*/
QDF_STATUS
dp_rx_link_desc_return_by_addr(struct dp_soc *soc,
hal_link_desc_t link_desc_addr,
hal_buff_addrinfo_t link_desc_addr,
uint8_t bm_action);
/**