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 e4e7e3a commit f3bd593Copy full SHA for f3bd593
net/mac80211/rx.c
@@ -2474,6 +2474,15 @@ ieee80211_drop_unencrypted_mgmt(struct ieee80211_rx_data *rx)
2474
return RX_DROP_U_UNPROT_UNICAST_PUB_ACTION;
2475
}
2476
2477
+ /*
2478
+ * Drop robust action frames before assoc regardless of MFP state,
2479
+ * after assoc we also have decided on MFP or not.
2480
+ */
2481
+ if (ieee80211_is_action(fc) &&
2482
+ ieee80211_is_robust_mgmt_frame(rx->skb) &&
2483
+ (!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_ASSOC)))
2484
+ return RX_DROP_U_UNPROT_ROBUST_ACTION;
2485
+
2486
return RX_CONTINUE;
2487
2488
0 commit comments