]> err.no Git - linux-2.6/commit
[NET]: Remove link_watch delay for up even when we're down
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 May 2007 01:36:28 +0000 (18:36 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:45:08 +0000 (23:45 -0700)
commit294cc44b7e48a6e7732499eebcf409b231460d8e
tree36c77c3ddb8f2b731ba4bba3a6d6682f6376a66b
parent572a103ded0ad880f75ce83e99f0512fbb80b5b0
[NET]: Remove link_watch delay for up even when we're down

Currently all link carrier events are delayed by up to a second
before they're processed to prevent link storms.  This causes
unnecessary packet loss during that interval.

In fact, we can achieve the same effect in preventing storms by
only delaying down events and unnecssary up events.  The latter
is defined as up events when we're already up.

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