From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 997F6ECDE27 for ; Wed, 11 Sep 2019 09:16:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6D227206A1 for ; Wed, 11 Sep 2019 09:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568193395; bh=bL2bn3vSHkQceyQjEuCXTqcdXpStvVCJCxI61V5Eh00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=zPOQYfSrQ9ck5X2Piz9IHCHO/lMbXz3jfH3sFHWyYEcgM4q7aLyzUxI3gfLJHQ3HS rUy/3nO1qZwDvhL75aeshfA1Wy+rp9EYW5fVIRMhjhxsAmyEp925ZuvCBeiSwoBTcH HTu8GCRnJIwJGgZMt6j57SACSZzfOXYe401fSZ2U= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbfIKJQf (ORCPT ); Wed, 11 Sep 2019 05:16:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:43246 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbfIKJQe (ORCPT ); Wed, 11 Sep 2019 05:16:34 -0400 Received: from localhost (unknown [148.69.85.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E47CD2067B; Wed, 11 Sep 2019 09:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568193394; bh=bL2bn3vSHkQceyQjEuCXTqcdXpStvVCJCxI61V5Eh00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b1Ky3x4L06AqmaayOdjd+FlawXIaAwpk8g7/zDr03h7y/c4oOMShcnsBxPpYWTQhX Mzw67KE10aYnGvBqWdkTh0IvIaJC+G77mGGoIaLmYUFfCS08uTBSddFXhzilqLw8/I D3FmqmAbRzkUtciadiA2CckyrLtGTY+Rc1cZIM4M= Date: Wed, 11 Sep 2019 05:16:31 -0400 From: Sasha Levin To: Tiwei Bie Cc: stable@vger.kernel.org, mst@redhat.com, jasowang@redhat.com, gregkh@linuxfoundation.org Subject: Re: [PATCH 4.14] vhost/test: fix build for vhost test Message-ID: <20190911091631.GI2012@sasha-vm> References: <20190911025055.26774-1-tiwei.bie@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190911025055.26774-1-tiwei.bie@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Sep 11, 2019 at 10:50:55AM +0800, Tiwei Bie wrote: >commit 264b563b8675771834419057cbe076c1a41fb666 upstream. > >Since vhost_exceeds_weight() was introduced, callers need to specify >the packet weight and byte weight in vhost_dev_init(). Note that, the >packet weight isn't counted in this patch to keep the original behavior >unchanged. > >Fixes: e82b9b0727ff ("vhost: introduce vhost_exceeds_weight()") >Cc: stable@vger.kernel.org >Signed-off-by: Tiwei Bie >Signed-off-by: Michael S. Tsirkin >Acked-by: Jason Wang I've queued it up for 4.14, 4.9, and 4.4. Thank you. -- Thanks, Sasha