diff options
| author | Liangwei Dong <liangwei@codeaurora.org> | 2017-03-08 01:04:58 -0500 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-03-13 00:36:50 -0700 |
| commit | 28a6544ea718ba0ad64df67b8114f2276f6a3def (patch) | |
| tree | f79c1b6d4572b1920b9c6893bc40a1065b608318 | |
| parent | 41ef1c69c19d22ab972b136e025dc00a395bd6aa (diff) | |
qcacld-3.0: Fix peer invalid free issue
qcacld-2.0 to qcacld-3.0 propagation
tx_msdu_info.peer should be reset to NULL for
each MSDU. Each MSDU will be classified by
ol_tx_classify to get peer.
Change-Id: I68fe619435a6edfdd82fa083ad9cb81251705ad5
CRs-Fixed: 1109984
| -rw-r--r-- | core/dp/txrx/ol_tx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/dp/txrx/ol_tx.c b/core/dp/txrx/ol_tx.c index 49d4a2643956..e5980ebb2437 100644 --- a/core/dp/txrx/ol_tx.c +++ b/core/dp/txrx/ol_tx.c @@ -1557,7 +1557,6 @@ ol_tx_hl_base( struct ocb_tx_ctrl_hdr_t tx_ctrl; htt_pdev_handle htt_pdev = pdev->htt_pdev; - tx_msdu_info.peer = NULL; tx_msdu_info.tso_info.is_tso = 0; /* @@ -1572,7 +1571,7 @@ ol_tx_hl_base( struct ol_tx_desc_t *tx_desc = NULL; qdf_mem_zero(&tx_ctrl, sizeof(tx_ctrl)); - + tx_msdu_info.peer = NULL; /* * The netbuf will get stored into a (peer-TID) tx queue list * inside the ol_tx_classify_store function or else dropped, |
