diff options
author | Shyam <srangana@redhat.com> | 2014-09-09 13:31:51 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-09 20:29:18 -0700 |
commit | b3314ea6e820fb659255d0e6e9a32ea259b7526d (patch) | |
tree | e75349007a952f6e832932baf157953515318581 /rpc | |
parent | c2513927b3aeaf03e0cfe1c1869c43f2a8f84153 (diff) |
cluster/dht: Fixed double UNWIND in lookup everywhere code
In dht_lookup_everywhere_done:
Line: 1194 we call DHT_STACK_UNWIND
and in the same if condition we go ahead and call, goto
unwind_hashed_and_cached; which at Line 1371 calls another UNWIND.
As is obvious, higher frames could cleanup their locals and on
receiving the next unwind could cause a coredump of the process.
Fixed the same by calling the required return post the first unwind
Change-Id: Ic5d57da98255b8616a65b4caaedabeba9144fd49
BUG: 1139812
Signed-off-by: Shyam <srangana@redhat.com>
Reviewed-on: http://review.gluster.org/8666
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: susant palai <spalai@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions