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
Sachin Ahuja 19cae30b59 qcacld-3.0: Don't set adapter dev to NULL in hostapd unint
With the existing design the panic is seen with the below
scenario.
1) As a part of country change, driver takes the dev_hold and proceed
   with the adapter access.
2) In another thread, del virtual iface is called which calls the
   unregister netdev. This kernel API(unregister netdev) calls the
   hdd_hostapd_unint where the adapter->dev is set to NULL. After
   this  unregister_netdev waits for the dev_put as driver has
   taken the dev_hold in 1). Till this dev_put happens
   unregister_netdev will wait.
3) Once the adapter access is completed as a part of 1), driver
   does the dev_put with the pointer dev which is made as NULL in 2).

To avoid this crash, don't set the adapter->dev to NULL in
hostapd unint.

CRs-Fixed: 2791420
Change-Id: I1f6252a44c061b697c8d640c5558350e91a47442
2020-10-09 23:57:24 -07:00
components qcacld-3.0: Enabling RPS for STA in STA+SAP mode 2020-10-09 23:57:20 -07:00
configs qcacld-3.0: Enable interface manager 2020-10-08 17:41:21 -07:00
core qcacld-3.0: Don't set adapter dev to NULL in hostapd unint 2020-10-09 23:57:24 -07:00
os_if qcacld-3.0: os_if: Remove logs for qdf_mem_malloc() checks 2020-09-25 12:59:46 -07:00
uapi/linux qcacld-3.0: Add PKTLOG_TYPE_RX_STATBUF 2019-10-09 19:10:36 -07:00
Android.mk qcacld-3.0: Add an option to pass build options 2020-07-06 08:33:48 -07:00
Kbuild qcacld-3.0: Add support to send wfa test config to FW 2020-10-08 22:58:43 -07:00
Kconfig qcacld-3.0: Combine all NAN related flags with WLAN_FEATURE_NAN 2019-02-04 10:44:30 -08:00
Makefile qcacld-3.0: Pass WLAN_ROOT value for make clean 2018-06-09 00:09:16 -07:00
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium