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
Abhishek Singh c176a5241b qcacmn: Use cookie instead of bool to check if scan node is active
Currently bool is used to check if scan node is active or not, and
if it is active the deletion can happen. Now if two thread tries to
delete the same node at same time, the first one to get the node
will delete the node and set the active bool to false. If the
delete operation leads to node being freed, the 2nd thread when gets
the lock tries to check the bool, if node is active and then return
if node is not active.

Now if before the 2nd thread check the bool, the memory is reallocate
and the byte pointing to the bool is overwritten with non-zero value
the 2nd thread will assume that node is still active and try to delete
and access an already freed node.

To fix this use cookie instead of bool to check if scan node is active.

Change-Id: Id6b9dc9d0ff8f091eef0bd648abc9d3198c3ad4b
CRs-Fixed: 2219667
2018-04-14 07:37:45 -07:00
cfg qcacmn: Explicit cast for boundary checks for unsigned cfg items 2018-03-28 02:13:57 -07:00
dp qcacmn: Correct BW statistics printing for txrx_stats commands 2018-04-14 04:53:22 -07:00
ftm qcacmn: Converge FTM feature 2018-01-16 18:29:53 -08:00
global_lmac_if qcacmn: Fix LLVM compiling issues 2018-04-02 16:41:52 -07:00
hal/wifi3.0 qcacmn: Populate RX PPDU length 2018-04-11 09:15:12 -07:00
hif qcacmn: Fix kernel warning in free irq path 2018-04-06 14:47:16 -07:00
htc qcacmn: Initialize the local variable do_pm_get to false 2018-04-02 15:21:59 -07:00
init_deinit/dispatcher qcacmn: Fix export symbol for multi drivers compilation 2018-03-19 19:58:03 -07:00
os_if/linux qcacmn: Fix 4.9GHz cfg80211 issues 2018-04-13 14:51:30 -07:00
qdf qcacmn: Fix NBUF_MEMORY_DEBUG PERF build error 2018-04-13 09:30:45 -07:00
scheduler qcacmn: Reduce SCHEDULER_CORE_MAX_MESSAGES to 1000 2018-03-12 22:00:46 -07:00
spectral qcacmn: Enable spectral registration to direct dma 2018-04-06 13:25:41 -07:00
target_if qcacmn: Add new files for cp_stats mobile connectivity component 2018-04-11 10:52:45 -07:00
umac qcacmn: Use cookie instead of bool to check if scan node is active 2018-04-14 07:37:45 -07:00
utils qcacmn: Fix function return type for epping_hard_start_xmit 2018-04-06 14:47:20 -07:00
wlan_cfg qcacmn: Initialize and reap both 2.4GHz and 5GHz MACs 2018-03-20 15:54:58 -07:00
wmi qcacmn: Export antenna info to the userspace 2018-04-13 09:30:42 -07:00
README.txt qcamain: Test changes 2017-09-15 21:45:35 +05:30
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium