+1
−1
Loading
When we are shutting down the client, we free the callback server structure and then at a later pointer we free the transport used by the client. Yet, it's possible that after the callback server is freed, the transport receives a backchannel request at which point we can dereferene freed memory. Instead, do the freeing the bc server and nullying bc_serv under the lock. Signed-off-by:Olga Kornievskaia <okorniev@redhat.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>