No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Karthik Kantamneni c1b9dcf734 qcacmn: Fix invalid memory access while adding napi
When new napi is added unique napi_id is assigned and an entry
is allocated in kernel napi hash table of size 256, vice versa
napi del will remove the entry from hash table. Currently during
driver unload dummy rx napi's(added for GRO case) are not deleted
which causes resource leakage in kernel napi hash table.
While adding new napi if napi_id exceeds hash table size,
then entry from zero index is accessed to find unclaimed
hash entry which trigger invalid entry access since previous
driver unload did not delete napis properly.
In use case where multiple wlan driver instances are used this issue
can be quickly reproducible since it triggers napi_id to exceed
hash table size within less number of driver load/unload.

Fix is to delete rx dummy napi's during driver unload

Change-Id: Idfb24c5c09ebc131c2b19d894d08a8ea34675ed6
CRs-Fixed: 2288118
2018-08-07 08:41:31 -07:00
cfg qcacmn: Add INI support for Lithium DP configuration items 2018-07-30 02:53:39 -07:00
dp qcacmn: ba_window size in WMI for rx_reorder_queue_setup 2018-08-07 02:19:31 -07:00
ftm qcacmn: Map all module logs to per-level log APIs 2018-07-13 10:36:22 -07:00
global_lmac_if
hal/wifi3.0 qcacmn: ba_window size in WMI for rx_reorder_queue_setup 2018-08-07 02:19:31 -07:00
hif qcacmn: Fix invalid memory access while adding napi 2018-08-07 08:41:31 -07:00
htc qcacmn: Reduce the setup info console logging from hif and htc 2018-08-02 18:30:10 -07:00
init_deinit/dispatcher qcacmn: Enable configuration component in dispatcher 2018-07-05 14:14:03 -07:00
os_if/linux qcacmn: Remove session_id from nan_datapath_peer_ind (Step 1) 2018-07-26 12:23:28 -07:00
qdf qcacmn: Clarify memory domain mismatch log 2018-08-06 20:55:27 -07:00
scheduler qcacmn: Reduce/remove scheduler logs 2018-07-19 23:11:43 -07:00
spectral qcacmn: Fix spectral scan compilation issue 2018-07-11 23:36:30 -07:00
target_if qcacmn: ba_window size in WMI for rx_reorder_queue_setup 2018-08-07 02:19:31 -07:00
umac qcacmn: Add ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN 2018-08-07 00:29:50 -07:00
utils qcacmn: Update current pktlog state if pktlog enable fails 2018-08-06 22:43:12 -07:00
wlan_cfg qcacmn: Add INI support for Lithium DP configuration items 2018-07-30 02:53:39 -07:00
wmi qcacmn: ba_window size in WMI for rx_reorder_queue_setup 2018-08-07 02:19:31 -07:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium