Skip to content

Commit 60d08dd

Browse files
elpgregkh
authored andcommitted
mac80211: timeout a single frame in the rx reorder buffer
commit 07ae2df upstream. The current code checks for stored_mpdu_num > 1, causing the reorder_timer to be triggered indefinitely, but the frame is never timed-out (until the next packet is received) Signed-off-by: Eliad Peller <eliad@wizery.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a0cbc2d commit 60d08dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/mac80211/rx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ static void ieee80211_sta_reorder_release(struct ieee80211_hw *hw,
616616
index = seq_sub(tid_agg_rx->head_seq_num, tid_agg_rx->ssn) %
617617
tid_agg_rx->buf_size;
618618
if (!tid_agg_rx->reorder_buf[index] &&
619-
tid_agg_rx->stored_mpdu_num > 1) {
619+
tid_agg_rx->stored_mpdu_num) {
620620
/*
621621
* No buffers ready to be released, but check whether any
622622
* frames in the reorder buffer have timed out.

0 commit comments

Comments
 (0)