diff options
author | Zhang Huan <zhanghuan@open-fs.com> | 2018-01-24 16:06:08 +0800 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-10-02 08:23:17 +0000 |
commit | 36075d4de78cb562b0e7a8bea85c868251f0e961 (patch) | |
tree | 723d22fdb247153fd1f365702771fa579cb451e1 /configure.ac | |
parent | 69aeede2480ff429d1c3c466a79d85fca756b198 (diff) |
rpc: fix missing unref on reconnect
On protocol client connecting to brick, client will firstly contact
glusterd to get port, then reconnect to glusterfsd. Reconnect cancels
the reconnect timer and start a new one. However, cancelling the timer
does not unref rpc ref-ed for it. That leads to refcount leak.
Fix this issue by unref-ing rpc if reconnect timer is canceled.
Change-Id: Ice89dcd93cb283a0c7250c369cc8961d52fb2022
Fixes: bz#1538900
BUG: 1538900
Signed-off-by: Zhang Huan <zhanghuan@open-fs.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions