Commit 45ceeee8 authored by Johannes Berg's avatar Johannes Berg

mac80211: add comment for rx_path_lock

Add a comment explaining how the RX path lock is used.
Signed-off-by: default avatarJohannes Berg <>
parent 4cc0dba9
......@@ -3123,6 +3123,12 @@ static void ieee80211_rx_handlers(struct ieee80211_rx_data *rx,
goto rxh_next; \
} while (0);
/* Lock here to avoid hitting all of the data used in the RX
* path (e.g. key data, station data, ...) concurrently when
* a frame is released from the reorder buffer due to timeout
* from the timer, potentially concurrently with RX from the
* driver.
while ((skb = __skb_dequeue(frames))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment