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
Liangwei Dong 4f2b0feab6 qcacmn: Fix memory leak in get_station_stats_cb
There is memory leak in get_station_stats_cb:
priv->vdev_summary_stats, priv->vdev_chain_rssi,
priv->peer_adv_stats. But the “request” is not leaked,
that means the “.dealloc” should be called.
The suspect is the get_station_stats_cb was called two
times with same cookie (request) before the "request"
was freed, that caused the priv->vdev_summary_stats
and the others two member of "priv" were overwritten,
and then memory leaks.

From the cp stats components there are multiple places
to call ucfg_mc_cp_stats_reset_pending_req to reset the
unused pending.req(has a cookie) to zero.  The zero
cookie may be used in again.

Change the ucfg_mc_cp_stats_reset_pending_req API to do
atomic operation of "reset" and "get" last pending
request.

Change-Id: I5efb7efec4da1edc0aab33b940dc126012a3f12e
CRs-Fixed: 2622444
2020-02-25 21:58:50 -08:00
cfg qcacmn: Add dcs component 2020-02-13 04:12:30 -08:00
dp qcacmn: Fix crash in frag path by using correct API to obtain PDEV 2020-02-25 20:26:22 -08:00
ftm qcacmn: ftm: Replace explicit comparison to NULL 2019-03-26 01:24:52 -07:00
global_lmac_if qcacmn: remove CONFIG_WIN from Spectral 2019-05-30 00:30:07 -07:00
hal/wifi3.0 qcacmn: Add history for register write failure 2020-02-25 03:01:36 -08:00
hif qcacmn: Pass shadow register address for IPA 2020-02-25 14:03:43 -08:00
htc qcacmn: Avoid NULL pointer dereference in send_packet_completion 2020-02-25 06:23:56 -08:00
init_deinit/dispatcher qcacmn: Add dcs component 2020-02-13 04:12:30 -08:00
os_if/linux qcacmn: Fix memory leak in get_station_stats_cb 2020-02-25 21:58:50 -08:00
qal qcacmn: Enhancement of OS abstraction API's 2019-03-20 22:10:24 -07:00
qdf qcacmn: Save Rx TLV offset info so as to recover in FISA 2020-02-20 06:39:48 -08:00
scheduler qcacmn: Add API to print scheduler history 2020-02-11 21:53:15 -08:00
spectral qcacmn: Enable Spectral feature for Pine 2020-02-01 06:25:04 -08:00
target_if qcacmn: Reduce regulatory logging 2020-02-25 10:59:06 -08:00
umac qcacmn: Fix memory leak in get_station_stats_cb 2020-02-25 21:58:50 -08:00
utils qcacmn: Change wlan driver prints from hex to decimal mode 2020-02-18 08:11:15 -08:00
wbuff
wlan_cfg Merge "qcacmn: Rename cmd ring to cmd_credit ring" 2020-02-15 11:08:15 -08:00
wmi qcacmn: Optimize logs for roaming and tdls 2020-02-25 15:32:37 -08:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium