[Bugs] [Bug 1583734] rpc_transport_unref() called for an unregistered socket fd

bugzilla at redhat.com bugzilla at redhat.com
Wed May 30 13:55:33 UTC 2018


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

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/20098 committed in release-4.1 by
"Shyamsundar Ranganathan" <srangana at redhat.com> with a commit message- rpc:
conditionally cleanup event slot

Problem:
socket_server_event_handler() may call rpc_transport_unref() for a
socket which may fail registration with the event sub-system.
This causes an assert to fail in event_unregister_epoll_common()

Solution:
Conditionally cleanup event slot only if slot index >= 0

Change-Id: I6ca7c133712e894adc335c7763879691b7e4b213
fixes: bz#1583734
Signed-off-by: Milind Changire <mchangir at redhat.com>
(cherry picked from commit 3780f6c2515c34f8705eb0fe25291bb97e73f354)

-- 
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