[PKT_SCHED] netem: Orphan SKB when adding to queue.
[pandora-kernel.git] / net / sched / sch_netem.c
index 45939ba..ef8874b 100644 (file)
@@ -170,6 +170,8 @@ static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch)
                return NET_XMIT_BYPASS;
        }
 
+       skb_orphan(skb);
+
        /*
         * If we need to duplicate packet, then re-insert at top of the
         * qdisc tree, since parent queuer expects that only one