From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5382A04DD for ; Thu, 5 Nov 2020 12:46:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A5C0C30F; Thu, 5 Nov 2020 12:46:09 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 55528BE8B for ; Thu, 5 Nov 2020 12:46:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604576762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1nxnB74BEd1HWPrPddJpdTPyQGCoT3WvY2kwHSfzixI=; b=IPlRbmmBtCvqYUU+7EnZeHiovhWn2uDFRbtO4k3jzhpy4ZveH3ivPRunt17XiCOxLW7zw8 BBdBZ8VZ9alnlUHtgNYBYR73PyVSXUE2KRAQ5S2i+BWvsMBvT/JtUSOfGL60QDwJH4a7Os 812NJf+Nr6MGAzMWVuCUEodB8tLckdU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-248-tflqq-KRNlCjk90XDxqABg-1; Thu, 05 Nov 2020 06:45:58 -0500 X-MC-Unique: tflqq-KRNlCjk90XDxqABg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3102B5F9E2; Thu, 5 Nov 2020 11:45:57 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0389D5D9D5; Thu, 5 Nov 2020 11:45:51 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, xuan.ding@intel.com, stephen@networkplumber.org, ferruh.yigit@intel.com, thomas@monjalon.net, chenbo.xia@intel.com Cc: stable@dpdk.org, Maxime Coquelin Date: Thu, 5 Nov 2020 12:45:46 +0100 Message-Id: <20201105114549.97717-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-stable] [PATCH 0/3] vhost: fix fd an memory leaks X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" This series fixes several leaks in Vhost-user requests handling. Thanks to Xuan Ding from Intel for reporting these issues. Maxime Coquelin (3): vhost: fix error path when setting memory tables vhost: fix fd leak in dirty logging setup vhost: fix fd leak in kick setup lib/librte_vhost/vhost_user.c | 81 ++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 30 deletions(-) -- 2.26.2