Quoting "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>:
On Tue, 2009-08-11 at 17:52 +0300, Jussi Kivilinna wrote:
+ if (test_bit(EVENT_RX_PAUSED, &dev->flags)) {
+ struct sk_buff *skb2;
+
+ skb2 = skb_clone(skb, GFP_ATOMIC);
+ if (unlikely(!skb2))
+ return;
+
+ skb_queue_tail(&dev->rxq_pause, skb2);
+ kfree_skb(skb);
Why clone and then free the original?
Ah, I had some problems and let this in. No reason, works fine without
cloning. I'll post v2 soon.
-Jussi
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html