From: Christoph Hellwig Date: Thu, 2 Jun 2005 23:36:00 +0000 (-0700) Subject: [NET]: Fix locking in shaper driver. X-Git-Tag: v2.6.12-rc6~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b597ef4712c05c962640a655386a7f06cc1a1fbc;p=pandora-kernel.git [NET]: Fix locking in shaper driver. o use a semaphore instead of an opencoded and racy lock o move locking out of shaper_kick and into the callers - most just released the lock before calling shaper_kick o remove in_interrupt() tests. from ->close we can always block, from ->hard_start_xmit and timer context never Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller --- Reading git-diff-tree failed