From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 4720E1B1C2; Thu, 5 Oct 2017 23:42:13 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A47CB20BC4; Thu, 5 Oct 2017 17:42:12 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 05 Oct 2017 17:42:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=x8Hg0xbdppXvXZU IiWKP9pnR3ssVfxvnCgc3s3YoOFs=; b=PVt2MO3puex6tmcb35XjQjJLJXaqCJL RVxUlU5ZSQ0eg10KfpKBlkSVAN577xPiafq3q4iYH6VRA9wRUEtGNCvIYEkGl85k S0/SyEiJGzr9t5MUO2EZsTwL5/QH5wIcSBfYcraI6oaHFVoQVuMnAmiMUAZd16zG NavCm0cGj4ew= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=x8Hg0xbdppXvXZUIiWKP9pnR3ssVfxvnCgc3s3YoOFs=; b=H+KPs8ob XHUVJ6inFx79j/IfSdzoGP/n2LdClPTj9ei0q3Tbq5q35oCvXHTA63JNzxewHH6M rdtrwHWJsXv+wAMAhiy5uWETURtvrY/KNta4ih8crouhY4Mi3wn3ZfnS36q77PQb yljSgSu+a2dqNqXwtX5nbuObbO+hxLVuFc/MRiVVnrTKyoa51gTBNFuQyiQ1pgsR WblN7wRdjLtGf5ZthzANp8iHumbPSRF8tMOq09g0x/IBylQz7ZsQs4itClGlWH8a vbb7MRe29z+IpusaHBDQHMjyCrS2tnHtZm5lu+kJ5FRG0LV6GA1ZcY1bajjnLPdE eFtRHU4ICwRJfA== X-ME-Sender: X-Sasl-enc: DxQpjwqHGxI2QURx0j2rDR9KP82FaIRPOgNoWTUq4WCx 1507239732 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5393A2489B; Thu, 5 Oct 2017 17:42:12 -0400 (EDT) From: Thomas Monjalon To: Kuba Kozak Cc: dev@dpdk.org, Patrick MacArthur , Michal Jastrzebski , anatoly.burakov@intel.com, deepak.k.jain@intel.com, stable@dpdk.org Date: Thu, 05 Oct 2017 23:42:11 +0200 Message-ID: <2039225.NYco85JQkv@xps> In-Reply-To: References: <1505901573-463-1-git-send-email-kubax.kozak@intel.com> <20170921134908.5076-1-michalx.k.jastrzebski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] vfio: fix close unchecked file descriptor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 21:42:13 -0000 21/09/2017 18:07, Patrick MacArthur: > On 09/21/2017 09:49 AM, Michal Jastrzebski wrote: > > From: Kuba Kozak > > > > Add file descriptor value check before calling close() function. > > > > Coverity issue: 141297 > > Fixes: 811b6b25060f ("vfio: fix file descriptor leak in multi-process") > > Cc: patrick@patrickmacarthur.net > > Cc: stable@dpdk.org > > > > Signed-off-by: Kuba Kozak > > Acked-by: Anatoly Burakov > > FWIW: > > Acked-by: Patrick MacArthur Applied, thanks