Commit b322f3d5 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: SAUCE: apparmor: Fix: break circular refcount for label that is directly freed."

BugLink: http://bugs.launchpad.net/bugs/1379535

This reverts commit 5f63d8b8931e1e33c62793583e9e5ed66ca9cc4b.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 91b65ec6
......@@ -227,10 +227,6 @@ void aa_label_destroy(struct aa_label *label)
label->ent[i.i] = LABEL_POISON + i.i;
}
}
if (rcu_dereference_protected(label->replacedby->label, true) == label)
rcu_assign_pointer(label->replacedby->label, NULL);
aa_free_sid(label->sid);
aa_put_replacedby(label->replacedby);
label->replacedby = REPLACEDBY_POISON + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment