git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SELinux fixups needed for preemptable RCU from -rt
[pandora-kernel.git]
/
security
/
selinux
/
netif.c
diff --git
a/security/selinux/netif.c
b/security/selinux/netif.c
index
c658b84
..
b4e14bc
100644
(file)
--- a/
security/selinux/netif.c
+++ b/
security/selinux/netif.c
@@
-239,11
+239,13
@@
static void sel_netif_kill(int ifindex)
{
struct sel_netif *netif;
+ rcu_read_lock();
spin_lock_bh(&sel_netif_lock);
netif = sel_netif_find(ifindex);
if (netif)
sel_netif_destroy(netif);
spin_unlock_bh(&sel_netif_lock);
+ rcu_read_unlock();
}
/**