[Bugs] [Bug 1434399] glusterd crashes when peering an IP where the address is more than acceptable range (>255) OR with random hostnames
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 27 13:58:32 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1434399
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16936 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com)
------
commit 8ab106ab27c427acda2a040d9f81cb8b7d573921
Author: Atin Mukherjee <amukherj at redhat.com>
Date: Sat Mar 18 16:29:10 2017 +0530
rpc: bump up conn->cleanup_gen in rpc_clnt_reconnect_cleanup
Commit 086436a introduced generation number (cleanup_gen) to ensure that
rpc layer doesn't end up cleaning up the connection object if
application layer has already destroyed it. Bumping up cleanup_gen was
done only in rpc_clnt_connection_cleanup (). However the same is needed
in rpc_clnt_reconnect_cleanup () too as with out it if the object gets
destroyed
through the reconnect event in the application layer, rpc layer will
still end up in trying to delete the object resulting into double free
and crash.
Peer probing an invalid host/IP was the basic test to catch this issue.
>Reviewed-on: https://review.gluster.org/16914
>Smoke: Gluster Build System <jenkins at build.gluster.org>
>NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
>Reviewed-by: Milind Changire <mchangir at redhat.com>
>CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
>Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
>(cherry picked from commit 39e09ad1e0e93f08153688c31433c38529f93716)
Change-Id: Id5332f3239cb324cead34eb51cf73d426733bd46
BUG: 1434399
Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
Reviewed-on: https://review.gluster.org/16936
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
--
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=3XXoV1WGzo&a=cc_unsubscribe
More information about the Bugs
mailing list