---
 Documentation/lguest/lguest.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff -r f7d6c8398ca6 Documentation/lguest/lguest.c
--- a/Documentation/lguest/lguest.c	Mon Aug 25 19:50:15 2008 +1000
+++ b/Documentation/lguest/lguest.c	Mon Aug 25 20:46:04 2008 +1000
@@ -948,10 +948,12 @@ static void handle_net_output(int fd, st
 	 * too small and increase it by 10 microseconds.  Otherwise, we drop it
 	 * by one microsecond every time.  It seems to work well enough. */
 	if (timeout) {
-		if (num < last_timeout_num)
-			timeout_usec += 10;
-		else if (timeout_usec > 1)
-			timeout_usec--;
+		if (num) {
+			if (num < last_timeout_num)
+				timeout_usec += 10;
+			else if (timeout_usec > 1)
+				timeout_usec--;
+		}
 		last_timeout_num = num;
 	}
 }
