We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ecfa1 commit d8c7aaeCopy full SHA for d8c7aae
net/mac80211/agg-rx.c
@@ -145,15 +145,20 @@ static void sta_rx_agg_session_timer_expired(unsigned long data)
145
struct tid_ampdu_rx *tid_rx;
146
unsigned long timeout;
147
148
+ rcu_read_lock();
149
tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[*ptid]);
- if (!tid_rx)
150
+ if (!tid_rx) {
151
+ rcu_read_unlock();
152
return;
153
+ }
154
155
timeout = tid_rx->last_rx + TU_TO_JIFFIES(tid_rx->timeout);
156
if (time_is_after_jiffies(timeout)) {
157
mod_timer(&tid_rx->session_timer, timeout);
158
159
160
}
161
162
163
#ifdef CONFIG_MAC80211_HT_DEBUG
164
printk(KERN_DEBUG "rx session timer expired on tid %d\n", (u16)*ptid);
0 commit comments