aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-05-09 18:27:54 -0400
committerDavid S. Miller <davem@davemloft.net>2006-05-09 18:27:54 -0400
commit8c1056839e808aad728db86d739ffec71d2d1db8 (patch)
treea6ba76eedc0b570314be5be71017575ec91e74cd /lib/crc16.c
parent788252e6616afc75098397cc6b0bcb5482ad07ac (diff)
[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 <herbert@gondor.apana.org.au> Acked-by: Stefan Rompf <stefan@loplof.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions