aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-06-17 17:30:23 -0400
committerPaul Moore <pmoore@redhat.com>2014-06-17 17:30:23 -0400
commit170b5910d9fbea79de1bb40df22eda5f98250c0c (patch)
treeca9560e878d2842d45c6f99077d0d8b8f8b0f9ba /security/selinux/include
parentselinux: conditionally reschedule in hashtab_insert while loading selinux policy (diff)
parentLinux 3.15 (diff)
downloadlinux-dev-170b5910d9fbea79de1bb40df22eda5f98250c0c.tar.xz
linux-dev-170b5910d9fbea79de1bb40df22eda5f98250c0c.zip
Merge tag 'v3.15' into next
Linux 3.15
Diffstat (limited to 'security/selinux/include')
-rw-r--r--security/selinux/include/xfrm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/selinux/include/xfrm.h b/security/selinux/include/xfrm.h
index 9f0584710c85..1450f85b946d 100644
--- a/security/selinux/include/xfrm.h
+++ b/security/selinux/include/xfrm.h
@@ -46,10 +46,11 @@ static inline void selinux_xfrm_notify_policyload(void)
{
struct net *net;
- atomic_inc(&flow_cache_genid);
rtnl_lock();
- for_each_net(net)
+ for_each_net(net) {
+ atomic_inc(&net->xfrm.flow_cache_genid);
rt_genid_bump_all(net);
+ }
rtnl_unlock();
}
#else