diff options
author | Paul Moore <pmoore@redhat.com> | 2014-06-17 17:30:23 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-06-17 17:30:23 -0400 |
commit | 170b5910d9fbea79de1bb40df22eda5f98250c0c (patch) | |
tree | ca9560e878d2842d45c6f99077d0d8b8f8b0f9ba /security/selinux/include/xfrm.h | |
parent | 47dd0b76ace953bd2c0479076db0d3e3b9594003 (diff) | |
parent | 1860e379875dfe7271c649058aeddffe5afd9d0d (diff) |
Merge tag 'v3.15' into next
Linux 3.15
Diffstat (limited to 'security/selinux/include/xfrm.h')
-rw-r--r-- | security/selinux/include/xfrm.h | 5 |
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) | |||
46 | { | 46 | { |
47 | struct net *net; | 47 | struct net *net; |
48 | 48 | ||
49 | atomic_inc(&flow_cache_genid); | ||
50 | rtnl_lock(); | 49 | rtnl_lock(); |
51 | for_each_net(net) | 50 | for_each_net(net) { |
51 | atomic_inc(&net->xfrm.flow_cache_genid); | ||
52 | rt_genid_bump_all(net); | 52 | rt_genid_bump_all(net); |
53 | } | ||
53 | rtnl_unlock(); | 54 | rtnl_unlock(); |
54 | } | 55 | } |
55 | #else | 56 | #else |