From patchwork Tue Dec 15 01:48:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangyunjian X-Patchwork-Id: 344342 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT 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 DC708C4361B for ; Tue, 15 Dec 2020 01:50:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 88849224D1 for ; Tue, 15 Dec 2020 01:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731022AbgLOBt3 (ORCPT ); Mon, 14 Dec 2020 20:49:29 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:9884 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbgLOBtQ (ORCPT ); Mon, 14 Dec 2020 20:49:16 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Cw1Nq2fb1z7Dg2; Tue, 15 Dec 2020 09:47:55 +0800 (CST) Received: from localhost (10.174.243.127) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Tue, 15 Dec 2020 09:48:21 +0800 From: wangyunjian To: , , , CC: , , , , , Yunjian Wang Subject: [PATCH net 0/2] fixes for vhost_net Date: Tue, 15 Dec 2020 09:48:13 +0800 Message-ID: X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 X-Originating-IP: [10.174.243.127] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Yunjian Wang This series include two fixes patches for vhost_net. Yunjian Wang (2): vhost_net: fix ubuf refcount incorrectly when sendmsg fails vhost_net: fix high cpu load when sendmsg fails drivers/vhost/net.c | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-)