commit | af59306455587143615517ade1ffce2e8f4fda48 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Fri Jun 20 18:29:20 2014 +0400 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Jul 08 15:08:44 2014 +0400 |
tree | c97beeb35bf52009d633a1c034452124bb0e0a77 | |
parent | 7c6e6fc53e7335570ed82f77656cedce1502744e [diff] |
libceph: unregister only registered linger requests Linger requests that have not yet been registered should not be unregistered by __unregister_linger_request(). This messes up ref count and leads to use-after-free. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>