diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 45aad3d3108c..bb4d71efb6fb 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -231,7 +231,7 @@ static void ieee80211_handle_mu_mimo_mon(struct ieee80211_sub_if_data *sdata, | |||
231 | struct ieee80211_hdr_3addr hdr; | 231 | struct ieee80211_hdr_3addr hdr; |
232 | u8 category; | 232 | u8 category; |
233 | u8 action_code; | 233 | u8 action_code; |
234 | } __packed action; | 234 | } __packed __aligned(2) action; |
235 | 235 | ||
236 | if (!sdata) | 236 | if (!sdata) |
237 | return; | 237 | return; |
@@ -2723,7 +2723,9 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) | |||
2723 | skb_set_queue_mapping(skb, q); | 2723 | skb_set_queue_mapping(skb, q); |
2724 | 2724 | ||
2725 | if (!--mesh_hdr->ttl) { | 2725 | if (!--mesh_hdr->ttl) { |
2726 | IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_ttl); | 2726 | if (!is_multicast_ether_addr(hdr->addr1)) |
2727 | IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, | ||
2728 | dropped_frames_ttl); | ||
2727 | goto out; | 2729 | goto out; |
2728 | } | 2730 | } |
2729 | 2731 | ||