mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
In avc_update_node() after calling avc_alloc_node() which, increments avc->avc_cache.active_nodes counter, but kmem_cache_free() were called when avc_xperms_populate() fails , which does not decrements the active_nodes count, resulting in the avc->avc_cache.active_nodes counter having false value.so calling avc_node_node() to fix it. Change-Id: Ic0298162cc766c0f21be7ab232e259766654dad3 Signed-off-by: Jaihind Yadav <jaihindyadav@codeaurora.org> Signed-off-by: vijay.rayabarapu <vijay.rayabarapu@codeaurora.org> Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>