Received: by 10.213.65.68 with SMTP id h4csp1569928imn; Thu, 15 Mar 2018 03:37:24 -0700 (PDT) X-Google-Smtp-Source: AG47ELt44xTKbNyYzrozfmLNC4jYbny6Zyi9s9fzhc93wxA0W2hMTcA4SfGR8WptCNk11pirV56f X-Received: by 10.98.159.85 with SMTP id g82mr7266210pfe.15.1521110244321; Thu, 15 Mar 2018 03:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521110244; cv=none; d=google.com; s=arc-20160816; b=ebHcg9IQwctYtrnK9EUvv25Calozg6C1nED2npQbLq8VbGK2Uq1FTECL0/o85Ugx1R mjX0col3gegd94x5bMvd0eEGGvXGezVX+0BDJJNkj0d2OG8FCCD5XwAv4JVMXsOgTytG gCkxcqgZbeptAsPskYgIOq/kP2eVxGvj14Dy9wMlEZlQNg4c3ypwOMgXWmR+Uv4mtl8d 9LbzHKicbnaC6u9QeNBKdoNMiRsmpHefx3mP2N3WE+0iF5IY+1qGmcaikgo3EvjPX25e PnP5rA+eZq2zh66qOwx3rSCBISKrhymrwDN/krS6K4Fs3bcrshdIkwyVEQEiaugNjqez iN4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=XtUB4GHzxnATmJbbzZTkDuwCpdVPxYjAHHU6wR850so=; b=FdSW1v/sKpNo/ncakMr89yTssKjzWMk7RuMGEXZcKIqagiigGDg+cv/AteWWWC4rxQ zGA4/EhXSl8GIL73GpHoaKqqtn0v2k9qPgulEsazAJT9GX0y8XrF2p3UsEqHKz1sGVhp yxBwkAdEihxsINjWDN77LeEnnHZxzmNUD5NtHPNQ837yvzikBlAEZDzOJRQxyq1qmPx3 /dm+P1e37gqtrnV/Bw6ecWqJeMbsOvEL36vybCT9oAN1RknNwzGtbwv0arCYtRvWbInj n68Z6c2P6H2U31jHwt+N91IHtfoQxbptdqj1oTHGnVX6Qhds7ERBkK8bGwri9jzaaA+g Kz0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6-v6si3785634pls.39.2018.03.15.03.37.10; Thu, 15 Mar 2018 03:37:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751666AbeCOKf5 (ORCPT + 99 others); Thu, 15 Mar 2018 06:35:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:54398 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbeCOKf4 (ORCPT ); Thu, 15 Mar 2018 06:35:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BC5E3AECC; Thu, 15 Mar 2018 10:35:54 +0000 (UTC) Subject: Re: [PATCH v2 3/3] xen: xenbus_dev_frontend: Verify body of XS_TRANSACTION_END To: Simon Gaiser , xen-devel@lists.xenproject.org Cc: Boris Ostrovsky , linux-kernel@vger.kernel.org References: <20180315024322.27429-1-simon@invisiblethingslab.com> <20180315024322.27429-3-simon@invisiblethingslab.com> From: Juergen Gross Message-ID: <1414d664-7773-f845-ae62-296963e75f40@suse.com> Date: Thu, 15 Mar 2018 11:34:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180315024322.27429-3-simon@invisiblethingslab.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/03/18 03:43, Simon Gaiser wrote: > By guaranteeing that the argument of XS_TRANSACTION_END is valid we can > assume that the transaction has been closed when we get an XS_ERROR > response from xenstore (Note that we already verify that it's a valid > transaction id). > > Signed-off-by: Simon Gaiser Reviewed-by: Juergen Gross Juergen