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? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part