[Bugs] [Bug 1226717] racy condition in nfs/auth-cache feature

bugzilla at redhat.com bugzilla at redhat.com
Sun Jun 28 17:37:40 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1226717



--- Comment #19 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11023 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit 7b51bd636fc5e5e1ae48a4e7cba48d0d20878d15
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sun May 31 16:27:44 2015 +0200

    nfs: refcount each auth_cache_entry and related data_t

    This makes sure that all the auth_cache_entry structures are only free'd
    when there is no reference to it anymore. When it is free'd, the
    associated data_t from the auth_cache->cache_dict gets unref'd too.

    Upon calling auth_cache_purge(), the auth_cache->cache_dict will free
    each auth_cache_entry in a secure way.

    Change-Id: If097cc11838e43599040f5414f82b30fc0fd40c6
    BUG: 1226717
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/11023
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=XXLL9wHOBR&a=cc_unsubscribe


More information about the Bugs mailing list