netem: Orphan SKB when adding to queue.
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 35 lines · Linux Kernel Mailing List
commit
4e8a5201506423e0241202de1349422af4260296
treee562a6cdbee37e3805551af92b264fa93d722c4b
parent6a43487f43fbd4e03c606dcb62b98374a3af88fc
author David S. Miller <[email protected]> 1161576033 -0700 committer David S. Miller <[email protected]> 1161576033 -0700[
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()innetem_enqueue().Signed-off-by David S. Miller <[email protected]>drivers/pci/quirks.c | 4 ++-- net/sched/sch_netem.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-)drivers/pci/quirks.c +1
-1@@ -1634,7 +1634,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_N* is marked here since the boot video device will be the only enabled * video device at this point. */ - +#if 0 static void __devinit fixup_video (struct pci_dev *pdev) {struct pci_dev *bridge;
drivers/pci/quirks.c static void __devinit fixup_video(struct · line 1666
Quoted 5 lines
drivers/pci/quirks.c +1
-1@@ -1663,7 +1663,7 @@ static void __devinit fixup_video(struct } }DECLARE_PCI_FIXUP_HEADER (PCI_ANY_ID ,PCI_ANY_ID , fixup_video); - +#endif
This part looks like you accidentally committed it.
Quoted 36 lines · On Mon, 23 Oct 2006 19:08:17 +0200 Patrick McHardy wrote:
Quoted 35 lines · Linux Kernel Mailing List
commit
4e8a5201506423e0241202de1349422af4260296
treee562a6cdbee37e3805551af92b264fa93d722c4b
parent6a43487f43fbd4e03c606dcb62b98374a3af88fc
author David S. Miller <[email protected]> 1161576033 -0700 committer David S. Miller <[email protected]> 1161576033 -0700[
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()innetem_enqueue().Signed-off-by David S. Miller <[email protected]>drivers/pci/quirks.c | 4 ++-- net/sched/sch_netem.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-)drivers/pci/quirks.c +1
-1@@ -1634,7 +1634,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_N* is marked here since the boot video device will be the only enabled * video device at this point. */ - +#if 0 static void __devinit fixup_video (struct pci_dev *pdev) {struct pci_dev *bridge;@@ -1663,7 +1663,7 @@ static void __devinit fixup_video(struct
Quoted 8 lines
drivers/pci/quirks.c static void __devinit fixup_video(struct · line 1666
Quoted 5 lines
drivers/pci/quirks.c +1
-1} }DECLARE_PCI_FIXUP_HEADER (PCI_ANY_ID ,PCI_ANY_ID , fixup_video); - +#endif This part looks like you accidentally committed it.
yep, already noticed & corrected on lkml.
---
~Randy