diff options
author | Paul Moore <paul.moore@hp.com> | 2006-09-25 15:52:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-25 15:52:37 -0700 |
commit | 609c92feea5652809319bb77f19d24a44615687d (patch) | |
tree | 01c7523782233356d0a373f775f21fa52099cd23 /security/selinux/ss/services.c | |
parent | 14a72f53fb1bb5d5c2bdd8cf172219519664729a (diff) |
[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 <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions