diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2014-09-25 12:44:59 +1000 |
|---|---|---|
| committer | Martin Schwenke <martins@samba.org> | 2014-09-25 04:54:10 +0200 |
| commit | c64369cba2e5a975d87d518737abbf04c9871a26 (patch) | |
| tree | c8f4c2dd7f36dde397436de4e4f367e21f60eaff /python | |
| parent | 17998fc4cf20cf6d12d7ba3100576163ddb865fa (diff) | |
| download | samba-c64369cba2e5a975d87d518737abbf04c9871a26.tar.gz samba-c64369cba2e5a975d87d518737abbf04c9871a26.tar.xz samba-c64369cba2e5a975d87d518737abbf04c9871a26.zip | |
ctdb-locking: Reset ttimer before doing an early return
When timer expires, timeout handler routine sets lock_ctx->ttimer
to a newly created timer event. However, when a node is INACTIVE,
timeout handler returns early with lock_ctx->ttimer set to the previous
timer event. This timer event gets freed when the callback returns and
lock_ctx->ttimer remains set to already freed timer event.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
