summaryrefslogtreecommitdiff
path: root/net/irda/irmod.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-05-09 11:17:30 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-11 10:45:28 +0400
commitd9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5 (patch)
treeda1f4e40d5d0a5e2ff3d5b6ca077917e0af71144 /net/irda/irmod.c
parentdb0ccffed91e234cad99a35f07d5a322f410baa2 (diff)
downloadlinux-d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5.tar.xz
[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 'net/irda/irmod.c')
0 files changed, 0 insertions, 0 deletions