From: Herbert Xu Date: Tue, 9 May 2006 22:27:54 +0000 (-0700) Subject: [NET] linkwatch: Handle jiffies wrap-around X-Git-Tag: v2.6.17-rc4~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1056839e808aad728db86d739ffec71d2d1db8;p=pandora-kernel.git [NET] linkwatch: Handle jiffies wrap-around The test used in the linkwatch does not handle wrap-arounds correctly. Since the intention of the code is to eliminate bursts of messages we can afford to delay things up to a second. Using that fact we can easily handle wrap-arounds by making sure that we don't delay things by more than one second. This is based on diagnosis and a patch by Stefan Rompf. Signed-off-by: Herbert Xu Acked-by: Stefan Rompf Signed-off-by: David S. Miller --- Reading git-diff-tree failed