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
Rajeev Kumar fb02a5e3ed qcacld-3.0: Fix kernel panic during driver load failure
In low memory conditions TX/RX histogram memory allocation failure
is not handled properly and because of it 2 kernel panics are observed.
1st kernel panic is caused when freed HDD context is de-referenced in
hdd_wlan_startup and 2nd kernel panic is caused by kernel wake lock
list corruption because WLAN driver during load failure corrupted kernel's
wake lock list.

As part of this fix make sure TX/RX histogram memory allocation failure
is handled gracefully by properly sending failure reason code to
hdd_wlan_startup.

Also in order to make fix complete and avoid any other kernel panic, deinit
HDD context properly by freeing all HDD created wake locks such that when
HDD context is freed its wake locks are not poisoned to 0x6b6b6b6b6b6b6b6b
(SLUB magic pattern) pattern by kernel and hence corrupting kernel wake lock
list.

This fix ensures driver load failure caused by TX/RX histogram allocation
failure is handled gracefully in low memory conditions without leading to
any kernel panic.

Change-Id: I17a46c346402642f39e6548cd40bedd1f7ff96a4
CRs-Fixed: 1069014
2016-09-23 02:21:17 -07:00
core qcacld-3.0: Fix kernel panic during driver load failure 2016-09-23 02:21:17 -07:00
target/inc qcacld-3.0: CL 1645154 – update fw common interface files 2016-09-21 17:12:28 -07:00
uapi/linux qcacld-3.0: Changes to support WDI_EVENT_SW_EVENT for packetlog 2016-08-20 10:36:52 -07:00
Android.mk
Kbuild qcacld-3.0: Add feature flag for DSRC feature 2016-09-21 17:02:26 -07:00
Kconfig qcacld-3.0: Create new files for supporting NAN data path feature 2016-06-27 18:17:22 -07:00
Makefile
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium