[Bugs] [Bug 1599629] Don' t execute statements after decrementing call count in afr
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 23 23:41:14 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1599629
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20486 committed in release-4.1 by "Pranith
Kumar Karampuri" <pkarampu at redhat.com> with a commit message- cluster/afr:
Prevent execution of code after call_count decrementing
Problem:
When call_count is decremented by one thread, another thread can
go ahead with the operation leading to undefined behavior for the
thread executing statements after decrementing call count.
Fix:
Do the operations necessary before decrementing call count.
fixes bz#1599629
Change-Id: Icc90cd92ac16e5fbdfe534d9f0a61312943393fe
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
(cherry picked from commit 03f1f5bdc46076178f1afdf8e2a76c5b973fe11f)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list