[Bugs] [Bug 1481600] rpc: client_t and related objects leaked due to incorrect ref counts

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 31 05:59:16 UTC 2017


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



--- Comment #11 from Milind Changire <mchangir at redhat.com> ---
Correction to the problem description:

Description of problem:
Problem:
1. incorrectly placed gf_client_get() in rpc_request_init()
   gf_client_ref() in rpc_request_init() should be moved to 
   get_frame_from_request()

2. incorrect ref handling in server_rpc_notify() and grace_time_handler()
   2.1 last ref count on client_t should be dropped in 
       RPCSVC_EVENT_TRANSPORT_DESTROY only for non-grace-time-handling case
   2.2 ref should be taken on client_t before being delegated to 
       grace_tim_handler()
   2.3 ref should be dropped from client_t in server_setvolume() when the 
       grace_time_handler() is successfully canceled for a re-connected client

-- 
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=xA3Y1uo1ju&a=cc_unsubscribe


More information about the Bugs mailing list