aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r--security/selinux/ss/services.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index ff0393317f39..ca9154dc5d82 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -1299,7 +1299,7 @@ int security_load_policy(void *data, size_t len)
1299 avc_ss_reset(seqno); 1299 avc_ss_reset(seqno);
1300 selnl_notify_policyload(seqno); 1300 selnl_notify_policyload(seqno);
1301 selinux_netlbl_cache_invalidate(); 1301 selinux_netlbl_cache_invalidate();
1302 atomic_inc(&flow_cache_genid); 1302 selinux_xfrm_notify_policyload();
1303 return 0; 1303 return 0;
1304 } 1304 }
1305 1305
@@ -1355,7 +1355,7 @@ int security_load_policy(void *data, size_t len)
1355 avc_ss_reset(seqno); 1355 avc_ss_reset(seqno);
1356 selnl_notify_policyload(seqno); 1356 selnl_notify_policyload(seqno);
1357 selinux_netlbl_cache_invalidate(); 1357 selinux_netlbl_cache_invalidate();
1358 atomic_inc(&flow_cache_genid); 1358 selinux_xfrm_notify_policyload();
1359 1359
1360 return 0; 1360 return 0;
1361 1361
@@ -1855,7 +1855,7 @@ out:
1855 if (!rc) { 1855 if (!rc) {
1856 avc_ss_reset(seqno); 1856 avc_ss_reset(seqno);
1857 selnl_notify_policyload(seqno); 1857 selnl_notify_policyload(seqno);
1858 atomic_inc(&flow_cache_genid); 1858 selinux_xfrm_notify_policyload();
1859 } 1859 }
1860 return rc; 1860 return rc;
1861} 1861}