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
This commit is contained in:
Liangwei Dong 2017-02-22 04:20:50 -05:00 • committed by Sandeep Puligilla
commit 35bded49b3

View file

@ -1490,7 +1490,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;
/*
@ -1505,7 +1504,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,