qcacld-3.0: Featurize dynamic rx agggregation feature
Dynamic rx aggregation feature depends on the context id which is obtained from the packet context block. This context id is invalid when this feature is not enabled, and hence can lead to out of array access/write leading to memory corruption. Fix this issue by not using the context id when the dynamic rx aggregation feature is not enabled. Change-Id: Ie551217409b0f5aa2f704f9c617949e0d42a74d0 CRs-Fixed: 2742653
This commit is contained in:

committed by
snandini

vanhempi
5beb694c69
commit
d80422e788
1
Kbuild
1
Kbuild
@@ -3145,6 +3145,7 @@ ccflags-$(CONFIG_HIF_IPCI) += -DCE_SVC_CMN_INIT
|
||||
ccflags-$(CONFIG_HIF_SNOC) += -DCE_SVC_CMN_INIT
|
||||
cppflags-$(CONFIG_RX_DESC_SANITY_WAR) += -DRX_DESC_SANITY_WAR
|
||||
cppflags-$(CONFIG_WBM_IDLE_LSB_WR_CNF_WAR) += -DWBM_IDLE_LSB_WRITE_CONFIRM_WAR
|
||||
cppflags-$(CONFIG_DYNAMIC_RX_AGGREGATION) += -DWLAN_FEATURE_DYNAMIC_RX_AGGREGATION
|
||||
|
||||
ifeq ($(CONFIG_QCA6290_11AX), y)
|
||||
cppflags-y += -DQCA_WIFI_QCA6290_11AX -DQCA_WIFI_QCA6290_11AX_MU_UL
|
||||
|
Viittaa uudesa ongelmassa
Block a user