linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@kernel.org>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Rakesh Pillai <quic_pillair@quicinc.com>,
	linux-wireless@vger.kernel.org,
	Dmitry Antipov <dmantipov@yandex.ru>
Subject: Re: [PATCH] wifi: ath10k: fix memory leak in WMI management
Date: Tue,  3 Oct 2023 14:19:31 +0000 (UTC)	[thread overview]
Message-ID: <169634277042.61956.2280885704658772960.kvalo@kernel.org> (raw)
In-Reply-To: <20230707105243.22824-1-dmantipov@yandex.ru>

Dmitry Antipov <dmantipov@yandex.ru> wrote:

> Since 'mgmt_pending_tx' of 'struct ath10k_wmi' contains pointers
> to dynamically allocated 'struct ath10k_mgmt_tx_pkt_addr' objects,
> these objects should be explicitly freed when removing from idr
> or when the whole idr is destroyed.
> 
> Fixes: dc405152bb64 ("ath10k: handle mgmt tx completion event")
> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

This needs testing on real hardware.

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230707105243.22824-1-dmantipov@yandex.ru/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


  reply	other threads:[~2023-10-03 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-07 10:52 [PATCH] wifi: ath10k: fix memory leak in WMI management Dmitry Antipov
2023-10-03 14:19 ` Kalle Valo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-07 10:45 Dmitry Antipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=169634277042.61956.2280885704658772960.kvalo@kernel.org \
    --to=kvalo@kernel.org \
    --cc=dmantipov@yandex.ru \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_pillair@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).