diff options
Diffstat (limited to 'security/selinux/ss/mls.c')
-rw-r--r-- | security/selinux/ss/mls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c index c85bc1ec040c..d307b37ddc2b 100644 --- a/security/selinux/ss/mls.c +++ b/security/selinux/ss/mls.c | |||
@@ -492,6 +492,8 @@ int mls_convert_context(struct policydb *oldp, | |||
492 | rc = ebitmap_set_bit(&bitmap, catdatum->value - 1, 1); | 492 | rc = ebitmap_set_bit(&bitmap, catdatum->value - 1, 1); |
493 | if (rc) | 493 | if (rc) |
494 | return rc; | 494 | return rc; |
495 | |||
496 | cond_resched(); | ||
495 | } | 497 | } |
496 | ebitmap_destroy(&c->range.level[l].cat); | 498 | ebitmap_destroy(&c->range.level[l].cat); |
497 | c->range.level[l].cat = bitmap; | 499 | c->range.level[l].cat = bitmap; |