From: Herbert Xu Date: Wed, 9 May 2007 07:17:30 +0000 (-0700) Subject: [NET] link_watch: Always schedule urgent events X-Git-Tag: v2.6.22-rc1~34^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed