[PKT_SCHED] netem: Orphan SKB when adding to queue.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 23 Oct 2006 04:00:33 +0000 (21:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 23 Oct 2006 04:00:33 +0000 (21:00 -0700)
commit4e8a5201506423e0241202de1349422af4260296
treee562a6cdbee37e3805551af92b264fa93d722c4b
parent6a43487f43fbd4e03c606dcb62b98374a3af88fc
[PKT_SCHED] netem: Orphan SKB when adding to queue.

The networking emulator can queue SKBs for a very long
time, so if you're using netem on the sender side for
large bandwidth/delay product testing, the SKB socket
send queue sizes become artificially larger.

Correct this by calling skb_orphan() in netem_enqueue().

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/pci/quirks.c
net/sched/sch_netem.c