]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: free pending offchannel tx frames on wcid cleanup
authorFelix Fietkau <nbd@nbd.name>
Wed, 27 Aug 2025 08:53:51 +0000 (10:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:58:06 +0000 (18:58 +0200)
commit2aef3667e6b0fc040277245efddfc01d009c8338
tree4b33a945cf2b77e01e5f0f7d35ca2ac25c37d195
parent1fb26fd3f6015d7758ae59a8fbd02f7648588c57
wifi: mt76: free pending offchannel tx frames on wcid cleanup

[ Upstream commit bdeac7815629c1a32b8784922368742e183747ea ]

Avoid leaking them or keeping the wcid on the tx list

Fixes: 0b3be9d1d34e ("wifi: mt76: add separate tx scheduling queue for off-channel tx")
Link: https://patch.msgid.link/20250827085352.51636-5-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mac80211.c