mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
qcacld-3.0: Allow drop pkts when pending is large
On some cases, dp_rx_thread can not handle nbufs in time, then a large number of packets are pending in rx_thread->nbuf_queue, which run out of system memory at last and failed to malloc new buffers for refill buffer ring, fw crash is encountered. To avoid this, drop RX packets when the pending number becomes large. Change-Id: Ie4e001dc584821cf68253aa3a15a5fd72394c736 CRs-Fixed: 2737181
This commit is contained in:
parent
7bd169ccc8
commit
636f42c23a
4 changed files with 97 additions and 3 deletions
1
Kbuild
1
Kbuild
|
|
@ -3098,6 +3098,7 @@ cppflags-$(CONFIG_AR900B) += -DAR900B
|
|||
cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64
|
||||
cppflags-$(CONFIG_OL_RX_INDICATION_RECORD) += -DOL_RX_INDICATION_RECORD
|
||||
cppflags-$(CONFIG_TSOSEG_DEBUG) += -DTSOSEG_DEBUG
|
||||
cppflags-$(CONFIG_ALLOW_PKT_DROPPING) += -DFEATURE_ALLOW_PKT_DROPPING
|
||||
|
||||
cppflags-$(CONFIG_ENABLE_DEBUG_ADDRESS_MARKING) += -DENABLE_DEBUG_ADDRESS_MARKING
|
||||
cppflags-$(CONFIG_FEATURE_TSO) += -DFEATURE_TSO
|
||||
|
|
|
|||
Loading…
Reference in a new issue