[Sheepdog] [PATCH] work: fix the usage of work structure after freeing

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sun Feb 21 20:47:14 CET 2010


On Mon, Feb 15, 2010 at 7:41 PM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> work->done hook could free the work structure so we can't use the work
> structure.
>
> Due this bug, we might not call work_queue_clear_blocked() then collie
> daemon is completely blocked.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
> ---
>  collie/work.c |   12 +++++++++---
>  1 files changed, 9 insertions(+), 3 deletions(-)
>

Applied to the master branch.

Thanks,

Kazutaka Morita



More information about the sheepdog mailing list