Herbert Xu d9568ba91b [NET] link_watch: Always schedule urgent events
Urgent events may be delayed if we already have a non-urgent event
queued for that device.  This patch changes this by making sure that
an urgent event is always looked at immediately.

I've replaced the LW_RUNNING flag by LW_URGENT since whether work
is scheduled is already kept track by the work queue system.

The only complication is that we have to provide some exclusion for
the setting linkwatch_nextevent which is available in the actual
work function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-05-10 23:45:28 -07:00
..
2007-04-25 22:29:24 -07:00
2007-05-09 08:57:56 +02:00
2007-05-09 07:12:20 +02:00
2007-04-25 22:29:24 -07:00
2007-05-09 08:57:56 +02:00
2007-05-09 08:57:56 +02:00
2007-05-10 09:26:52 -07:00
2007-05-09 08:57:56 +02:00
2007-05-09 17:58:00 -04:00
2007-05-04 12:55:39 -07:00
2007-05-10 15:46:08 +02:00
2005-04-16 15:20:36 -07:00