From: Paul Moore Date: Mon, 25 Sep 2006 22:52:37 +0000 (-0700) Subject: [NetLabel]: make the CIPSOv4 cache spinlocks bottom half safe X-Git-Tag: v2.6.19-rc1~1232^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=609c92feea5652809319bb77f19d24a44615687d;p=pandora-kernel.git [NetLabel]: make the CIPSOv4 cache spinlocks bottom half safe The CIPSOv4 cache traversal routines are triggered both the userspace events (cache invalidation due to DOI removal or updated SELinux policy) and network packet processing events. As a result there is a problem with the existing CIPSOv4 cache spinlocks as they are not bottom-half/softirq safe. This patch converts the CIPSOv4 cache spin_[un]lock() calls into spin_[un]lock_bh() calls to address this problem. Signed-off-by: Paul Moore Signed-off-by: David S. Miller --- Reading git-diff-tree failed