android_kernel_motorola_sm6375/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Srinivas Dasari 3b51b87b4e qcacld-3.0: Fetch vdev from psoc in TDLS handlers
Currently, if the TDLS timer expires while the scheduler thread
is processing something(e.g., station vdev destroy), the handler
would be in wait queue and it gets called once the scheduler
thread is done with its current task(i.e., vdev deletion).
TDLS handler tries to use the vdev even it has just got freed,
which leads to use-after-free.
This happens because of the below,
1. vdev destroy notification has no knowledge of the TDLS timer
   expiry as timer_stop is used to stop the timer.
2. vdev is passed to TDLS handler as part of registration.

Fix:
1. Use timer_stop_sync in vdev_destroy_notification to make
   sure the handler is posted to scheduler thread if the timer
   had expired.
2. Get the vdev in handler from psoc instead of passing it to
   the timer handler. This can make sure the vdev is referred
   only if it exists.

Change-Id: I186fd0d44b2364ebb375a8445dd1239368543e7b
CRs-Fixed: 2792020
2020-10-13 05:17:01 -07:00
..
action_oui
blacklist_mgr
cfg
cmn_services qcacld-3.0: Fail to transfer DBS to SCC caused by channel avoidance 2020-10-01 12:28:43 -07:00
cp_stats/dispatcher qcacld-3.0: Rate limit cp stats logs 2020-10-01 14:40:43 -07:00
disa
dsc
ftm_time_sync
fw_offload qcacld-3.0: Update default value for gFwDebugModuleLoglevel INI param 2020-10-08 17:41:28 -07:00
interop_issues_ap
ipa qcacld-3.0: Enabling RPS for STA in STA+SAP mode 2020-10-09 23:57:20 -07:00
mlme qcacld-3.0: Trigger MSCS action frame 2020-10-09 23:57:31 -07:00
nan qcacld-3.0: Change the default value of ini param nan_feature_config 2020-10-12 11:20:25 -07:00
ocb
p2p qcacld-3.0: Fix implicit-fallthrough compile error casued by gcc 9.3 2020-10-01 12:28:39 -07:00
pkt_capture
pmo qcacld-3.0: Add a mod DTIM on system suspend flag 2020-10-10 02:02:11 -07:00
target_if qcacld-3.0: Enable the Partial scan for roam triggers 2020-10-09 20:43:03 -07:00
tdls qcacld-3.0: Fetch vdev from psoc in TDLS handlers 2020-10-13 05:17:01 -07:00
umac/mlme qcacld-3.0: Enable the Partial scan for roam triggers 2020-10-09 20:43:03 -07:00
wmi qcacld-3.0: Enable the Partial scan for roam triggers 2020-10-09 20:43:03 -07:00