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
Rakesh Pillai 56e622954d qcacld-3.0: Fix deadlock between rtnl lock and vdev ops DSC
The below described scenario can lead to a deadlock
between wlan_hdd_del_virtual_intf and the work handler
to update netdev features.
- netdev features update work is scheduled and takes the
  vdev ops DSC lock.
- before the work is able to take the rtnl lock, a delete
  interface is called from kernel with rtnl lock held
- wlan_hdd_del_virtual_intf waits indefinitely for all the
  ops to be completed on this vdev.
- Now netdev feature update work is waiting for rtnl lock
  with vdev ops DSC held, and wlan_hdd_del_virtual_intf is
  waiting for vdev ops DSC with rtnl lock held.

In order to fix the above deadlock scenario, set a delete in
progress flag in wlan_hdd_del_virtual_intf and use rtnl_trylock
in the netdev features update work, only if the delete in
progress flag is not set. Using rtnl_trylock with a few equally
time spaced attempts to acquire rtnl lock will make sure the
features update is done it the work is unable to acquire the
rtnl lock due to any other netdev operation (apart from interface
deletion).

Change-Id: Iad6448d4d9bf7f4cbfcfc4c6fb3afb248afaeeec
CRs-Fixed: 2854713
2021-01-19 11:57:10 -08:00
components qcacld-3.0: Don't block NAN+NDI+STA concurrency for non-dbs 2021-01-18 06:54:07 -08:00
configs qcacld-3.0: Configure TWT SAP PDEV and SAP STA Count 2021-01-10 07:13:45 -08:00
core qcacld-3.0: Fix deadlock between rtnl lock and vdev ops DSC 2021-01-19 11:57:10 -08:00
os_if qcacld-3.0: Reduce excessive kmsg logging in roaming path 2021-01-11 09:29:08 -08:00
uapi/linux
Android.mk qcacld-3.0: Add an option to pass build options 2020-07-06 08:33:48 -07:00
Kbuild qcacld-3.0: enable macro for monitor mode rssi conversion 2021-01-08 15:13:51 -08:00
Kconfig
Makefile
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium