From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2qtQ-0001EX-4X for qemu-devel@nongnu.org; Sat, 18 Aug 2012 17:49:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2qtP-0006mi-8I for qemu-devel@nongnu.org; Sat, 18 Aug 2012 17:49:16 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:39326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2qtP-0006md-1Y for qemu-devel@nongnu.org; Sat, 18 Aug 2012 17:49:15 -0400 Received: by weyz53 with SMTP id z53so3187621wey.4 for ; Sat, 18 Aug 2012 14:49:14 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Sat, 18 Aug 2012 23:49:00 +0200 Message-Id: <1345326543-10677-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH RFT 0/3] iscsi: fix NULL dereferences / races between task completion and abort List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, s.priebe@profihost.ag Cc: ronniesahlberg@gmail.com Hi Stefan, this is my version of your patch. I think the flow of the code is a bit simpler (or at least matches other implementations of cancellation). Can you test it on your test case? Thanks! Paolo Paolo Bonzini (3): iscsi: move iscsi_schedule_bh and iscsi_readv_writev_bh_cb iscsi: simplify iscsi_schedule_bh iscsi: fix races between task completion and abort block/iscsi.c | 114 +++++++++++++++++++++++++++------------------------------- 1 file modificato, 52 inserzioni(+), 62 rimozioni(-) -- 1.7.11.2