Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1923388imu; Sun, 16 Dec 2018 12:05:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/X3aMFa5UKfSA5ZD4fguw4thy4TaLk3K9xztXTaGKjYt2TNxgv8Rw/dZzIrbYsMt2Lm5tIc X-Received: by 2002:a62:33c1:: with SMTP id z184mr10328643pfz.104.1544990721009; Sun, 16 Dec 2018 12:05:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544990720; cv=none; d=google.com; s=arc-20160816; b=YSlTrNFvk0kklM3Q/dBovxD/Ob4mO1kL5BPLjpWEVSTsKayejYsNojOJKdi274M4lO bjA2QVyHamJmLzWHPLTxqnY4G2JTORlx4aQDtoGYrDURjCRAdOwr+3KENBGjJqYhq0CJ Ceni3KeXOgPkREWp97B5IlVIw3J/fomm9xkoY8rTb9IrWyIC2Ywt7A061R1e7d7/ONmx JmQYZofCxdGmN/Dps3/q42EB+K5mlMSqWwT0/lEvWuKQZaZtUSRQ38bVP8JU0p9wLHi/ aJ0cWl3R9Oh3QqKxo9Wv9bQxsxQVvC0HdVLXjxZwN06bRth5A301X0RamTImwQKKZtfH LTIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=sqaQPdB72uQgnE2+Yf8Rjv4QX7OUMPxU/i14dsxUBsw=; b=nw4PW42qu1oIb79thKRiR1XBeVvsi32uU0gKNbmHR/jxNQfdzI8LEN6d/7Zu+g3V07 VtcNtm6T1f7FIYRJZbUvV9AfQtlpfJcF3TlrNghVFpnPtskqBypr7hFrOOE4me28BuOH fKZwWMbehC9TzAo59EFX05CZ3or3BtNRfAOl0d3f/ZUBpIlEokoPBGAaFW1oL4CZpGAj TIryt7bi4mA9RL0UKrTifRnpAIjrDyPTrKm5SA4uTrBPMcAHNcGZzWijd6sp5g0XF2k9 WJE9cG4LnL1fhiRDoa6VU+istMIrunxTvl79ix4YdodITVhOMNm0JefQZ8L8CHwJh7G2 DF5w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17si9967543pfd.236.2018.12.16.12.05.03; Sun, 16 Dec 2018 12:05:20 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730887AbeLPTlv (ORCPT + 99 others); Sun, 16 Dec 2018 14:41:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56180 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730770AbeLPTlv (ORCPT ); Sun, 16 Dec 2018 14:41:51 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1DF2A2D7F7; Sun, 16 Dec 2018 19:41:51 +0000 (UTC) Received: from redhat.com (ovpn-120-77.rdu2.redhat.com [10.10.120.77]) by smtp.corp.redhat.com (Postfix) with SMTP id 29CD31019630; Sun, 16 Dec 2018 19:41:48 +0000 (UTC) Date: Sun, 16 Dec 2018 14:41:48 -0500 From: "Michael S. Tsirkin" To: David Miller Cc: ptikhomirov@virtuozzo.com, jasowang@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, khorenko@virtuozzo.com Subject: Re: [PATCH] vhost: return EINVAL if iovecs size does not match the message size Message-ID: <20181216144011-mutt-send-email-mst@kernel.org> References: <20181213145350.5454-1-ptikhomirov@virtuozzo.com> <20181215.114611.1702968159223320911.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181215.114611.1702968159223320911.davem@davemloft.net> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sun, 16 Dec 2018 19:41:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 15, 2018 at 11:46:11AM -0800, David Miller wrote: > From: Pavel Tikhomirov > Date: Thu, 13 Dec 2018 17:53:50 +0300 > > > We've failed to copy and process vhost_iotlb_msg so let userspace at > > least know about it. For instance before these patch the code below runs > > without any error: > ... > > Signed-off-by: Pavel Tikhomirov > > Michael, will you be taking this in via your tree? > > Thanks. Will do, thanks!