From patchwork Tue Dec 19 09:09:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= X-Patchwork-Id: 850728 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3z1Bv605WDz9sPt; Tue, 19 Dec 2017 20:10:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1eRDuW-0001Is-Go; Tue, 19 Dec 2017 09:10:04 +0000 Received: from proxmox-new.maurer-it.com ([212.186.127.180]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1eRDuV-0001Ia-1V for kernel-team@lists.ubuntu.com; Tue, 19 Dec 2017 09:10:03 +0000 Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7A01E42456 for ; Tue, 19 Dec 2017 10:10:02 +0100 (CET) From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/3][Artful] fix skb leak in vhost_net / tun / tap (30% perf regression) Date: Tue, 19 Dec 2017 10:09:53 +0100 Message-Id: <20171219090956.28041-1-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.14.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/1738975 == SRU Justification == Impact: Up to 30% performance regression for traffic from hypervisor host to VM, caused by a memory leak Fix: Cherry-picks from upstream stable tree to fix the memory leak Regression Potential: Merged in 4.15 and 4.14.7, tested and verified by multiple people. See https://lkml.kernel.org/r/<4c7e2924-b10f-0e97-c388-c8809ecfdeeb@linux.vnet.ibm.com> for the original report and extensive discussion See https://lkml.kernel.org/r/<1512123038-15773-1-git-send-email-wexu@redhat.com> for the patch series in question Wei Xu (3): vhost: fix skb leak in handle_rx() tap: free skb if flags error tun: free skb in early errors drivers/net/tap.c | 14 ++++++++++---- drivers/net/tun.c | 24 ++++++++++++++++++------ drivers/vhost/net.c | 20 ++++++++++---------- 3 files changed, 38 insertions(+), 20 deletions(-) Acked-by: Khalid Elmously Acked-by: Stefan Bader