mt76: do not attempt to reorder received 802.3 packets without agg session
Subsystems (2)
Felix Fietkau
maintainerPATCH 1/1 mt76: do not attempt to reorder received 802.3 packets without agg session
Fixes potential latency / packet drop issues in cases where a BA session has not (yet) been established.
Fixes e195dad14115 ("mt76: add support for 802.3 rx frames")
Signed-off-by Felix Fietkau <[email protected]>
--- drivers/net/wireless/mediatek/mt76/agg-rx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/net/wireless/mediatek/mt76/agg-rx.c +3 -2
@@ -162,8 +162,9 @@ void mt76_rx_aggr_reorder(struct sk_buff *skb, struct sk_buff_head *frames)if (!sta)return ; -if (!status->aggr && !(status->flag &RX_FLAG_8023 )) { -mt76_rx_aggr_check_ctl (skb, frames); +if (!status->aggr) { +if (!(status->flag &RX_FLAG_8023 )) +mt76_rx_aggr_check_ctl (skb, frames);return ; }
Signature · 1 line
2.35.1