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 b46a753f63 qcacmn: Fix race while accessing the serialization timer cmd pointer
If two threads T1 and T2 are trying to stop the serialization timer,
both can get the timer while holding lock. Timer cmd pointer is set
to NULL after releasing lock.

Now if a third thread T3 is trying to start the timer at same time,
it may get the timer as soon as T1 make cmd NULL and adds its cmd
pointer to the timer in the list.

But T2, which was also trying to stop the timer can stop the timer
and set cmd back to NULL again.  Thus T3 will not have the timer in
the timer list.

Now when driver try to abort/flush the command it will not find the
timer and In case timer is not found the command is not freed, leading
to vdev ref leak.

To fix this stop and update the timer while holding lock.

Change-Id: I363a4d36181328be310c7c980c981302501a9453
CRs-Fixed: 2376733
2019-01-13 18:46:04 -08:00
cfg qcacmn: Add INI support to disable spectral feature 2018-12-27 13:28:00 -08:00
dp qcacmn: Change the 2k handling API to non-static 2019-01-12 07:28:54 -08:00
ftm qcacmn: Fix possible OOB write in wlan_ftm_process_utf_event 2018-09-07 21:46:49 -07:00
global_lmac_if
hal/wifi3.0 qcacmn: New TLV sequence supporting for UL OFDMA in monitor mode 2019-01-03 22:29:40 -08:00
hif qcacmn: In SAP-WOW-D0 state, wake-up FW on receiption of unicast pkt 2019-01-07 19:59:13 -08:00
htc qcacmn: Add support to handle new htt format 2018-12-06 08:39:32 -08:00
init_deinit/dispatcher qcacmn: Add INI support to disable spectral feature 2018-12-27 13:28:00 -08:00
os_if/linux qcacmn: fix out of bound access of memories in wlan_cfg80211_scan 2019-01-13 11:26:48 -08:00
qal qcacmn: Fix unresolved function compiler error 2018-11-18 22:08:04 -08:00
qdf qcacmn: Fix delay in driver logging 2019-01-04 05:40:29 -08:00
scheduler qcacmn: Record queue depth in scheduler history 2018-10-16 18:35:57 -07:00
spectral qcacmn: Add INI support to disable spectral feature 2018-12-27 13:28:00 -08:00
target_if qcacmn: Add support for SET KEY convergence 2019-01-08 18:21:17 -08:00
umac qcacmn: Fix race while accessing the serialization timer cmd pointer 2019-01-13 18:46:04 -08:00
utils qcacmn: Implement converged packetdump API 2019-01-03 02:30:21 -08:00
wbuff qcacmn: Update debug info in wbuff_buff_get() 2018-10-16 21:21:15 -07:00
wlan_cfg qcacmn: Enable GRO for TCP packets 2018-12-18 00:08:08 -08:00
wmi qcacmn: fix out of bound access of memories in wlan_cfg80211_scan 2019-01-13 11:26:48 -08:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium