diff options
author | Milind Changire <mchangir@redhat.com> | 2018-05-26 12:36:04 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-05-29 04:13:58 +0000 |
commit | 3780f6c2515c34f8705eb0fe25291bb97e73f354 (patch) | |
tree | d3aa41382705fdf111fde5224aa1bfcecb968cdc /libglusterfs/src/parse-utils.c | |
parent | 493f5aff9d66a83deb7cf3b3527d0d836fbd12ec (diff) |
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#1582704
BUG: 1582704
Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'libglusterfs/src/parse-utils.c')
0 files changed, 0 insertions, 0 deletions