diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-09 00:17:30 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-10 23:45:28 -0700 |
commit | d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5 (patch) | |
tree | da1f4e40d5d0a5e2ff3d5b6ca077917e0af71144 /crypto | |
parent | db0ccffed91e234cad99a35f07d5a322f410baa2 (diff) |
[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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions