qcacmn: fix double free of ME ext buffer

Fix double free of ME buffer in enqueue failed
case

Change-Id: Idf79bff6bd0ffea92dba39a2f7ec6da64a4e193d
CRs-fixed: 2532803
This commit is contained in:
Chaithanya Garrepalli
2019-09-25 15:24:51 +05:30
committed by nshrivas
parent 6e0ca6a328
commit 0e8f23f3a4

View File

@@ -1691,8 +1691,6 @@ qdf_nbuf_t dp_tx_send_msdu_multiple(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
tid_stats = &pdev->stats.tid_stats.
tid_tx_stats[tx_q->ring_id][msdu_info->tid];
tid_stats->swdrop_cnt[TX_HW_ENQUEUE]++;
if (tx_desc->flags & DP_TX_DESC_FLAG_ME)
dp_tx_me_free_buf(pdev, tx_desc->me_buffer);
dp_tx_desc_release(tx_desc, tx_q->desc_pool_id);
goto done;