aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-05-15 03:34:44 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-15 03:34:44 -0400
commit63fe46da9c380b3f2bbdf3765044649517cc717c (patch)
tree9478c1aca1d692b408955aea20c9cd9a37e589c0 /net/mac80211/rx.c
parent99dd1a2b8347ac2ae802300b7862f6f7bcf17139 (diff)
parent066b2118976e6e7cc50eed39e2747c75343a23c4 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/iwlwifi/iwl-4965-rs.c drivers/net/wireless/rt2x00/rt61pci.c
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index e8b89c89e875..9b5a3cbec265 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1300,11 +1300,11 @@ ieee80211_deliver_skb(struct ieee80211_rx_data *rx)
1300 if (is_multicast_ether_addr(skb->data)) { 1300 if (is_multicast_ether_addr(skb->data)) {
1301 if (*mesh_ttl > 0) { 1301 if (*mesh_ttl > 0) {
1302 xmit_skb = skb_copy(skb, GFP_ATOMIC); 1302 xmit_skb = skb_copy(skb, GFP_ATOMIC);
1303 if (!xmit_skb && net_ratelimit()) 1303 if (xmit_skb)
1304 xmit_skb->pkt_type = PACKET_OTHERHOST;
1305 else if (net_ratelimit())
1304 printk(KERN_DEBUG "%s: failed to clone " 1306 printk(KERN_DEBUG "%s: failed to clone "
1305 "multicast frame\n", dev->name); 1307 "multicast frame\n", dev->name);
1306 else
1307 xmit_skb->pkt_type = PACKET_OTHERHOST;
1308 } else 1308 } else
1309 IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.sta, 1309 IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.sta,
1310 dropped_frames_ttl); 1310 dropped_frames_ttl);
@@ -1390,7 +1390,7 @@ ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx)
1390 padding = ((4 - subframe_len) & 0x3); 1390 padding = ((4 - subframe_len) & 0x3);
1391 /* the last MSDU has no padding */ 1391 /* the last MSDU has no padding */
1392 if (subframe_len > remaining) { 1392 if (subframe_len > remaining) {
1393 printk(KERN_DEBUG "%s: wrong buffer size", dev->name); 1393 printk(KERN_DEBUG "%s: wrong buffer size\n", dev->name);
1394 return RX_DROP_UNUSABLE; 1394 return RX_DROP_UNUSABLE;
1395 } 1395 }
1396 1396
@@ -1413,7 +1413,7 @@ ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx)
1413 eth = (struct ethhdr *) skb_pull(skb, ntohs(len) + 1413 eth = (struct ethhdr *) skb_pull(skb, ntohs(len) +
1414 padding); 1414 padding);
1415 if (!eth) { 1415 if (!eth) {
1416 printk(KERN_DEBUG "%s: wrong buffer size ", 1416 printk(KERN_DEBUG "%s: wrong buffer size\n",
1417 dev->name); 1417 dev->name);
1418 dev_kfree_skb(frame); 1418 dev_kfree_skb(frame);
1419 return RX_DROP_UNUSABLE; 1419 return RX_DROP_UNUSABLE;
@@ -1947,7 +1947,7 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
1947 if (!skb_new) { 1947 if (!skb_new) {
1948 if (net_ratelimit()) 1948 if (net_ratelimit())
1949 printk(KERN_DEBUG "%s: failed to copy " 1949 printk(KERN_DEBUG "%s: failed to copy "
1950 "multicast frame for %s", 1950 "multicast frame for %s\n",
1951 wiphy_name(local->hw.wiphy), 1951 wiphy_name(local->hw.wiphy),
1952 prev->dev->name); 1952 prev->dev->name);
1953 continue; 1953 continue;