]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU
authorDeren Wu <deren.wu@mediatek.com>
Wed, 17 May 2023 09:18:24 +0000 (17:18 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jul 2023 19:59:41 +0000 (21:59 +0200)
commitb642f4c5f3de0a8f47808d32b1ebd9c427a42a66
tree20fe7bb9d63737ff7342c8688a684ce6f23f650d
parent9aecfa754c7fc12c3f7feb669aec2f744e83954a
wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU

txs may be dropped if the frame is aggregated in AMSDU. When the problem
shows up, some SKBs would be hold in driver to cause network stopped
temporarily. Even if the problem can be recovered by txs timeout handling,
mt7921 still need to disable txs in AMSDU to avoid this issue.

Cc: stable@vger.kernel.org
Fixes: 163f4d22c118 ("mt76: mt7921: add MAC support")
Reviewed-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c