From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2776DA0548; Mon, 10 May 2021 12:11:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B27F40140; Mon, 10 May 2021 12:11:23 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 697694003E for ; Mon, 10 May 2021 12:11:22 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A40625C00EB; Mon, 10 May 2021 06:11:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 10 May 2021 06:11:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= BWHpT2P9XcqywFmFqxihVHbYC7odSX168cg3Wb9eLag=; b=TzYdjlJVyjzTMRyp DTIwM71Fihe+V+B4o/1hQzoY0YJ3hbD8CvDq40WQo3Zk9bcPoe0ANp81XFDsRIko kYWFl5Jja/gvU7krYjBH1gFSYtMFpAtLesBKVyC1nOZOyUsfFNL9DGZ8s10g+mYa 5GCN+Hn2LhLUEjA0r4fr/x/YwQAQSVDLS7BOHsTwIc2ECpgzxPYdsqx9lQBt907m IitK6hPEtM1oxaIlDYAg72KuDkws914H1BJhWmEC4WH/nI6zwA2C9YYc/VoMV+P/ YLJp9dUCM47RkMIE4PJQ/fT0HG5FH0ZXI+O37WakxwfO6NJRLQ97LyX9zJuIe554 tg6mmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=BWHpT2P9XcqywFmFqxihVHbYC7odSX168cg3Wb9eL ag=; b=gGp0AW3j5sXvLYCO3J/D8MvKKt9cPnwkciBRg3MM27F9GPjp33XhJ7QWW FqT0Md8eZFkp+5nuXfgCdEDfynPVPBqW9OyMJXsimmLWM95qvh0sr/WqZixW33bu 94i0Md72wcBv7dnm8P94tPW3/vam4DiqDvBcUmFtNnyySSj1cnm48ccATGYFHSGA qSHQJYXOo2bmI3r6xOURsv3HZBfmymVSGpXlIX7lxN5ZggkKPsdYt8SI5txqGO0H RsemgJB4aZY6mt/pg7AusDO8YOYWKjYnAOadUo1FgOR3502cvAfqJrBu3mFctobl 2RHRgQtZPaMPuQ+05IUbgHPioKwwQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegkedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 May 2021 06:11:19 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Mon, 10 May 2021 12:11:16 +0200 Message-ID: <1737402.MfnN5KM4nx@thomas> In-Reply-To: <20210506111927.787415-1-bruce.richardson@intel.com> References: <20210506111927.787415-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] raw/ioat: fix resource leak for directory handle X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 06/05/2021 13:19, Bruce Richardson: > When reading the /dev directory as part of the bus scan for DSA devices, > the directory handle from opendir was not freed on function return, > leading to a resource leak. > > Coverity issue: 370588 > Fixes: b7aaf417f936 ("raw/ioat: add bus driver for device scanning automatically") > > Signed-off-by: Bruce Richardson Applied, thanks