Dmitry Antipov <dmantipov@xxxxxxxxx> 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@xxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> This needs testing on real hardware. Patch set to Changes Requested. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230707105243.22824-1-dmantipov@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches