Skip to contentSkip to conversation

mac80211: Fix skb-copy failure debug message.

PATCH In review [email protected] 2 participants 3 messages Jan 8, 2011 – Jan 9, 2011 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: Fix skb-copy failure debug message.

From: Ben Greear <[email protected]>

This particular error isn't about multicast.

---
:100644 100644 a6701ed... 6d2c59b... M net/mac80211/rx.c

 net/mac80211/rx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/rx.c +1 -1
index a6701ed..6d2c59b 100644
@@ -2692,7 +2692,7 @@ static bool ieee80211_prepare_and_rx_handle(struct ieee80211_rx_data *rx,
 		if (!skb) {
 			if (net_ratelimit())
 				wiphy_debug(local->hw.wiphy,
-					"failed to copy multicast frame for %s\n",
+					"failed to copy skb for %s\n",
 					sdata->name);
 			return true;
 		}
Signature · 1 line
1.7.2.3
maintainer
#1 lore raw
Quoted 3 lines · On Sat, 2011-01-08 at 10:30 -0800, [email protected] wrote:

From: Ben Greear <[email protected]>

This particular error isn't about multicast.

Actually, it is... only multicast frames should ever be processed by multiple interfaces.

johannes

author
#2 lore raw
Quoted 7 lines · Johannes Berg
Quoted 3 lines · On Sat, 2011-01-08 at 10:30 -0800, [email protected] wrote:

From: Ben Greear<[email protected]>

This particular error isn't about multicast.

Actually, it is... only multicast frames should ever be processed by multiple interfaces.

Or if the STA interfaces are promisc for some reason..but no big deal either way. With the old ath9k code, even arps or dhcp requests would be an order-1 SKB, so that is probably what I was seeing.

I had a clean overnight run with the ath9k copybreak logic, so that seems to have been the root problem.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com