]> err.no Git - linux-2.6/commit
[NET] link_watch: Eliminate potential delay on wrap-around
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 May 2007 06:22:43 +0000 (23:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:45:11 +0000 (23:45 -0700)
commitdb0ccffed91e234cad99a35f07d5a322f410baa2
treea83a513181ec767ad533ca30d06837eb107961b7
parent4cd8c9e87be7ea891050ff1bebbf767a837eb5cf
[NET] link_watch: Eliminate potential delay on wrap-around

When the jiffies wrap around or when the system boots up for the first
time, down events can be delayed indefinitely since we no longer
update linkwatch_nextevent when only urgent events are processed.

This patch fixes this by setting linkwatch_nextevent when a
wrap-around occurs.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/link_watch.c