mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: fix ipa mcc tx_desc leak
In MCC case when vdev pause queue is full, driver fails to tx and pkts are dropped. ipa tx_desc only replenishes to ipa driver. This leads to holes in hdd_ipa_tx_desc free list and list will be drained out causing unexpected packet drops. Fix is to replenish tx_desc to wlan driver maintained free list as well using ipa registered skb free callback. Change-Id: I1ae8570816efd822d5ced2c6383a03c56b12ec89 CRs-Fixed: 2073444
This commit is contained in:
parent
87f0139d6a
commit
05c1e81910
1 changed files with 1 additions and 2 deletions
|
|
@ -4143,9 +4143,8 @@ static void hdd_ipa_send_pkt_to_tl(
|
|||
ipa_tx_desc->skb);
|
||||
if (skb) {
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_DEBUG, "TLSHIM tx fail");
|
||||
ipa_free_skb(ipa_tx_desc);
|
||||
qdf_nbuf_free(skb);
|
||||
iface_context->stats.num_tx_err++;
|
||||
hdd_ipa_rm_try_release(hdd_ipa);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue