mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacmn: Allocate memory for fisa pkt history separately
Fisa packet history is around 6KB for each sw fisa flow entry and this is part of the dp_fisa_rx_sw_ft structure. The total size of the SW FT as a result is around 830KB and the higher order memory allocation via kzalloc for this could fail in low/fragmented memory scenarios. Fix is to allocate memory for FISA pkt history separately and attach it to the SW FT entry. Change-Id: I7296d7269c1b86ec38ea1668e8a0893335bbdb6f CRs-Fixed: 2936353
This commit is contained in:
parent
a7441f61f3
commit
75e691425f
1 changed files with 1 additions and 1 deletions
|
|
@ -3042,7 +3042,7 @@ struct dp_fisa_rx_sw_ft {
|
|||
qdf_time_t flow_init_ts;
|
||||
qdf_time_t last_accessed_ts;
|
||||
#ifdef WLAN_SUPPORT_RX_FISA_HIST
|
||||
struct fisa_pkt_hist pkt_hist;
|
||||
struct fisa_pkt_hist *pkt_hist;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue