summaryrefslogtreecommitdiffstats
path: root/security/ipe/policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/ipe/policy.c')
-rw-r--r--security/ipe/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/ipe/policy.c b/security/ipe/policy.c
index dcaac8c4bb38..4cea067adf6a 100644
--- a/security/ipe/policy.c
+++ b/security/ipe/policy.c
@@ -106,7 +106,7 @@ int ipe_update_policy(struct inode *root, const char *text, size_t textlen,
goto err;
}
- if (ver_to_u64(old) > ver_to_u64(new)) {
+ if (ver_to_u64(old) >= ver_to_u64(new)) {
rc = -ESTALE;
goto err;
}