Skip to content

Commit 07ae2df

Browse files
elplinvjw
authored andcommitted
mac80211: timeout a single frame in the rx reorder buffer
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> Cc: <stable@vger.kernel.org> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 3d29dd9 commit 07ae2df

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
@@ -611,7 +611,7 @@ static void ieee80211_sta_reorder_release(struct ieee80211_hw *hw,
611611
index = seq_sub(tid_agg_rx->head_seq_num, tid_agg_rx->ssn) %
612612
tid_agg_rx->buf_size;
613613
if (!tid_agg_rx->reorder_buf[index] &&
614-
tid_agg_rx->stored_mpdu_num > 1) {
614+
tid_agg_rx->stored_mpdu_num) {
615615
/*
616616
* No buffers ready to be released, but check whether any
617617
* frames in the reorder buffer have timed out.

0 commit comments

Comments
 (0)