From: Stanislaw Gruszka Date: Wed, 30 Nov 2005 00:16:21 +0000 (-0800) Subject: [ATM]: avoid race conditions related to atm_devs list X-Git-Tag: v2.6.15-rc4~4^2~11^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaaaaadbe7a663d110814db50fcbe7d320eb4c32;p=pandora-kernel.git [ATM]: avoid race conditions related to atm_devs list Use semaphore to protect atm_devs list, as no one need access to it from interrupt context. Avoid race conditions between atm_dev_register(), atm_dev_lookup() and atm_dev_deregister(). Fix double spin_unlock() bug. Signed-off-by: Stanislaw Gruszka Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- Reading git-diff-tree failed