commit | 417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Oct 01 09:29:45 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 01 09:29:45 2009 -0700 |
tree | 75752bd8823f98b27957d02ea95ae582ff1e6a84 | |
parent | a00d2102ce01df5f0a8892814ecd26d130d47e7d [diff] |
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>