mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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:
parent
e27c81a9cb
commit
35bded49b3
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue