https://github.com/torvalds/linux
Revision 417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb authored by Eric Dumazet on 01 October 2009, 16:29:45 UTC, committed by David S. Miller on 01 October 2009, 16:29:45 UTC
After last pktgen changes, delay handling is wrong.

pktgen actually sends packets at full line speed.

Fix is to update pkt_dev->next_tx even if spin() returns early,
so that next spin() calls have a chance to see a positive delay.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a00d210
History
Tip revision: 417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb authored by Eric Dumazet on 01 October 2009, 16:29:45 UTC
pktgen: Fix delay handling
Tip revision: 417bc4b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 153.3 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top