From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227AbbBYV46 (ORCPT ); Wed, 25 Feb 2015 16:56:58 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:33854 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123AbbBYV4z (ORCPT ); Wed, 25 Feb 2015 16:56:55 -0500 Date: Wed, 25 Feb 2015 16:56:52 -0500 (EST) Message-Id: <20150225.165652.1024024652864456838.davem@davemloft.net> To: mst@redhat.com Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: Re: [PATCH] vhost: drop hard-coded num_buffers size From: David Miller In-Reply-To: <1424795457-6770-1-git-send-email-mst@redhat.com> References: <1424795457-6770-1-git-send-email-mst@redhat.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Wed, 25 Feb 2015 13:56:54 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Michael S. Tsirkin" Date: Tue, 24 Feb 2015 17:31:10 +0100 > The 2 that we use for copy_to_iter comes from sizeof(u16), > it used to be that way before the iov iter update. > Fix it up, making it obvious the size of stack access > is right. > > Signed-off-by: Michael S. Tsirkin Michael, what tree do you want these two patches to go through?