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 5a625ee commit 133767fCopy full SHA for 133767f
net/mac80211/rx.c
@@ -4407,6 +4407,10 @@ static bool ieee80211_accept_frame(struct ieee80211_rx_data *rx)
4407
if (!multicast &&
4408
!ether_addr_equal(sdata->dev->dev_addr, hdr->addr1))
4409
return false;
4410
+ /* reject invalid/our STA address */
4411
+ if (!is_valid_ether_addr(hdr->addr2) ||
4412
+ ether_addr_equal(sdata->dev->dev_addr, hdr->addr2))
4413
+ return false;
4414
if (!rx->sta) {
4415
int rate_idx;
4416
if (status->encoding != RX_ENC_LEGACY)
0 commit comments