Received: from eggs.gnu.org ([2001:4830:134:3::10]:40191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WugzS-0005Pi-5F for qemu-devel@nongnu.org; Wed, 11 Jun 2014 07:46:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WugzK-0003sL-NA for qemu-devel@nongnu.org; Wed, 11 Jun 2014 07:46:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WugzK-0003sB-Fj for qemu-devel@nongnu.org; Wed, 11 Jun 2014 07:46:42 -0400 Date: Wed, 11 Jun 2014 13:46:32 +0200 From: Stefan Hajnoczi Message-ID: <20140611114632.GI6673@stefanha-thinkpad.str.redhat.com> References: <1402386167-8091-1-git-send-email-pl@kamp.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K1SnTjlYS/YgcDEx" Content-Disposition: inline In-Reply-To: <1402386167-8091-1-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH] block/nfs: fix potential segfault on early callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org --K1SnTjlYS/YgcDEx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2014 at 09:42:47AM +0200, Peter Lieven wrote: > it will happen in the future that the callback of a libnfs call > directly invokes the callback. In this case we end up in a segfault > because the NFSRPC is gone when we the BH is scheduled. >=20 > Signed-off-by: Peter Lieven > --- > block/nfs.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --K1SnTjlYS/YgcDEx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTmEGYAAoJEJykq7OBq3PIOIUIALZ19lfa9+WLO5DMUVW8E+Cx r/UUqXL6K6in/jxemJUhYjCjNvkOF53ty+ckqKRX530SaIdpEffLGOX2s8paPpqX rhleahugL4FUwMGyy2YTtjTGc0V9kFCfl7Zu5VFl7nNgIf5JvMMqID64FHi4wbYX erbZdsnHs0kG08uIIZ5lZziY0WLSj01X3BtiCG6taLsxO/AM0r47XXFkz1T2O0+Q i4STlh9dkZbQvuwm5iS67bpwFzOAjVrVmvw8ZAWXdGh4MmxLK6iwm0aJu5+QvxOZ EKzwLBWjcAzFRlhj6Een3JvaQD7FTn4CNnV+qyqmb7BeMlXE4mBryszwXbHuYe8= =fKkw -----END PGP SIGNATURE----- --K1SnTjlYS/YgcDEx--