Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66366
b: refs/heads/master
c: b331615
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville authored and David S. Miller committed Oct 10, 2007
1 parent e87cfeb commit 5b21aff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c3b00caf98e5fdaa0184026a68f0008a5bf393e
refs/heads/master: b331615722779b078822988843ddffd4eaec9f83
5 changes: 3 additions & 2 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,9 +988,10 @@ ieee80211_rx_h_data(struct ieee80211_txrx_data *rx)
memcpy(dst, hdr->addr1, ETH_ALEN);
memcpy(src, hdr->addr3, ETH_ALEN);

if (sdata->type != IEEE80211_IF_TYPE_STA) {
if (sdata->type != IEEE80211_IF_TYPE_STA ||
(is_multicast_ether_addr(dst) &&
!compare_ether_addr(src, dev->dev_addr)))
return TXRX_DROP;
}
break;
case 0:
/* DA SA BSSID */
Expand Down

0 comments on commit 5b21aff

Please sign in to comment.