[Bugs] [Bug 1242515] racy condition in nfs/auth-cache feature
bugzilla at redhat.com
bugzilla at redhat.com
Sat Jul 18 08:36:18 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1242515
--- Comment #6 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11646 committed in release-3.7 by Niels de
Vos (ndevos at redhat.com)
------
commit 85a7ad784e92f4b0bedb44f7e64bf4e9adfae5ce
Author: Niels de Vos <ndevos at redhat.com>
Date: Mon Jul 13 12:16:04 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.
Cherry picked from commit 7b51bd636fc5e5e1ae48a4e7cba48d0d20878d15:
> 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>
Change-Id: If097cc11838e43599040f5414f82b30fc0fd40c6
BUG: 1242515
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: http://review.gluster.org/11646
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
--
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=S3kcOHZGgQ&a=cc_unsubscribe
More information about the Bugs
mailing list