From: Eric Dumazet Date: Thu, 1 Oct 2009 16:29:45 +0000 (-0700) Subject: pktgen: Fix delay handling X-Git-Tag: v2.6.32-rc3~12^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed