Re: [Qemu-devel] [PATCH] block/iscsi: fix potential segfault on early callback

2014-06-10 Thread Paolo Bonzini
Il 10/06/2014 09:52, Peter Lieven ha scritto: it might happen in the future that a function directly invokes its callback. In this case we end up in a segfault because the iTask is gone when the BH is scheduled. Signed-off-by: Peter Lieven --- block/iscsi.c |5 - 1 file changed, 4 inse

Re: [Qemu-devel] [PATCH] block/iscsi: fix potential segfault on early callback

2014-06-10 Thread Peter Lieven
On 10.06.2014 10:08, Paolo Bonzini wrote: Il 10/06/2014 09:52, Peter Lieven ha scritto: it might happen in the future that a function directly invokes its callback. In this case we end up in a segfault because the iTask is gone when the BH is scheduled. Signed-off-by: Peter Lieven --- block/i

[Qemu-devel] [PATCH] block/iscsi: fix potential segfault on early callback

2014-06-10 Thread Peter Lieven
it might happen in the future that a function directly invokes its callback. In this case we end up in a segfault because the iTask is gone when the BH is scheduled. Signed-off-by: Peter Lieven --- block/iscsi.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/block/isc