aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-06-10 05:22:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-06-10 05:22:26 -0400
commit65b53e4cc90e59936733b3b95b9451d2ca47528d (patch)
tree29932718192962671c48c3fd1ea017a6112459e8 /net/mac80211/rx.c
parent788c0a53164c05c5ccdb1472474372b72ba74644 (diff)
parent2e761e0532a784816e7e822dbaaece8c5d4be14d (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/tg3.c drivers/net/wireless/rt2x00/rt2x00dev.c net/mac80211/ieee80211_i.h
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 9400a9766a77..a3643fd86af9 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1116,7 +1116,7 @@ ieee80211_data_to_8023(struct ieee80211_rx_data *rx)
1116 u16 fc, hdrlen, ethertype; 1116 u16 fc, hdrlen, ethertype;
1117 u8 *payload; 1117 u8 *payload;
1118 u8 dst[ETH_ALEN]; 1118 u8 dst[ETH_ALEN];
1119 u8 src[ETH_ALEN]; 1119 u8 src[ETH_ALEN] __aligned(2);
1120 struct sk_buff *skb = rx->skb; 1120 struct sk_buff *skb = rx->skb;
1121 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 1121 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
1122 DECLARE_MAC_BUF(mac); 1122 DECLARE_MAC_BUF(mac);
@@ -1259,7 +1259,7 @@ ieee80211_data_to_8023(struct ieee80211_rx_data *rx)
1259 */ 1259 */
1260static bool ieee80211_frame_allowed(struct ieee80211_rx_data *rx) 1260static bool ieee80211_frame_allowed(struct ieee80211_rx_data *rx)
1261{ 1261{
1262 static const u8 pae_group_addr[ETH_ALEN] 1262 static const u8 pae_group_addr[ETH_ALEN] __aligned(2)
1263 = { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x03 }; 1263 = { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x03 };
1264 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; 1264 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data;
1265 1265