diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-10-01 09:29:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-01 09:29:45 -0700 |
commit | 417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb (patch) | |
tree | 75752bd8823f98b27957d02ea95ae582ff1e6a84 /net/sysctl_net.c | |
parent | a00d2102ce01df5f0a8892814ecd26d130d47e7d (diff) | |
download | op-kernel-dev-417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb.zip op-kernel-dev-417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb.tar.gz |
pktgen: Fix delay handling
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>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions