diff options
| author | tfyu <tfyu@codeaurora.org> | 2017-09-26 17:40:48 +0800 |
|---|---|---|
| committer | Oleg Matcovschi <omatcovschi@google.com> | 2018-03-15 15:24:47 -0700 |
| commit | ed0861a232932ae04e107bba978ace6dbc87087c (patch) | |
| tree | 4a1ca5e8f73107033d1f634ee8152a56cd7e5f69 /net/lapb/lapb_timer.c | |
| parent | 2ff2e43bb1729f1024b59eb16dbf7ad751d04ed5 (diff) | |
qcacld-3.0: Fix memory leak for txrx_fw_stats cmd
qcacld-2.0 to qcacld-3.0 propagation
The txrx_fw_stats cmd will allocate a req object before sending the cmd
to the firmware, this memory is only freed when get response from firmware.
The memory leak will appear if the firmware doesn't response in time before
the driver unloading.
This fix will add a pending queue to trace this req object in the pdev.
when pdev is detaching, it will clean up this queue to avoid memory leak.
Bug: 72957257
Change-Id: I35f6216d35befbab978bba161252b305488bd34c
CRs-Fixed: 2116408
Signed-off-by: Ecco Park <eccopark@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
