android_kernel_xiaomi_sm8350/core
Ashish Kumar Dhanotiya 1130e58a67 qcacld-3.0: Remove validate context check in LL stats get NB ops
As a part of LL stats get NB operation, the driver sends the LL stats
req to the FW, waits for the response and sends back the stats in a
synchronous reply. All this happens as a part of one single NB
operation.

Within this operation, if an rmmod comes, there can be a possiblity
of a memory leak. In function hdd_link_layer_process_radio_stats, there
is a check to validate the hdd_context and return if the driver is
undergoing load/unload. As a part of the premature return, some stats
are not returned to user space..

To resolve this, remove the validity check from the NB operation. The
operation itself comes with DSC synchronization and ensures that the
hdd_context remains valid atleast until the operation is complete. Thus
there is no need for the redundant check of validity of hdd_context.

Change-Id: I20cc85b715330a28bc077ca47a1721343bba7214
CRs-Fixed: 2714136
2020-06-23 04:01:00 -07:00
..
bmi qcacld-3.0: Skip recovering check if host assert target 2020-05-28 21:07:32 -07:00
cds qcacld-3-0: Have bus specific recovery ini checks to get imp info 2020-06-22 12:37:30 -07:00
dp qcacld-3.0: Avoid Rome mgmt nbuf double unmap during SSR 2020-06-18 23:21:52 -07:00
hdd qcacld-3.0: Remove validate context check in LL stats get NB ops 2020-06-23 04:01:00 -07:00
mac Release 5.2.0.191C 2020-06-23 00:27:55 -07:00
pld qcacld-3.0: Add ipci apis for SOC wake and athdiag 2020-06-10 07:26:02 -07:00
sap qcacld-3.0: Correct condition to skip DFS channels 2020-06-17 19:37:59 -07:00
sme qcacld-3.0: Fix LFR2 failed for roam scan mode 0 2020-06-22 22:06:12 -07:00
wma qcacld-3.0: fix a potential assignment truncation issue 2020-06-23 00:27:54 -07:00