Commit 649f8740 authored by Jaihind Yadav's avatar Jaihind Yadav Committed by Kiran Raparthy
Browse files

selinux: cleanup the internal AVC counters on error in avc_update()



In AVC update we don't call avc_node_kill() when avc_xperms_populate()
fails, resulting in the avc->avc_cache.active_nodes counter having a
false value.In last patch this changes was missed , so correcting it.

Change-Id: Ic0298162cc766c0f21be7ab232e259766654dad3
Signed-off-by: default avatarJaihind Yadav <jaihindyadav@codeaurora.org>
Signed-off-by: default avatarRavi Kumar Siddojigari <rsiddoji@codeaurora.org>
Signed-off-by: default avatarvijay.rayabarapu <vijay.rayabarapu@codeaurora.org>
parent 1fa702c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment