From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id F32139AAC for ; Mon, 9 Mar 2015 12:50:31 +0100 (CET) Received: by wiwh11 with SMTP id h11so9029652wiw.1 for ; Mon, 09 Mar 2015 04:50:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=fJQI8C+qzuZy68n9e75M+vJLyi52SbIymDky3cuIEJ4=; b=JRcvkhlQpOGXS7uv6eWmqvaURgIzaGgC6RSHPxuc4dXkzKyLhd/kXaLoQoXD0aHPFv b2zUWT/aGf4aOuB6CAN6Px/u6nuRk5glNqstGbNzCwShXdLyN5R37h4S9YAtz37CQlu2 XT8RgqGiN3nYOyJKqpsjhGs/BSkZI4cBkgpPr7tqg+z1qPF7ly8XZKbW1ISkjAIUErnE 4pyjrpb5YY9SQPUIRbMnT0WhzYrpeM6VtmRkhtBP8dnVl1BbTlKFhID/6T5an3jkQR9d m/L3r2V7RY9SaoVsp+ceu4OEEbV/mFry3PI+3yV4+/Plr5/AEDDvKYiYYzQl58ok5oV4 qzqQ== X-Gm-Message-State: ALoCoQkGcEnQeeIthGp4E9vknDkRorxzKMBlL6qBmiF3Tncwf7hVaD0Z4rkRy3mBaljwnBRy4fzN X-Received: by 10.180.210.228 with SMTP id mx4mr91928014wic.71.1425901831860; Mon, 09 Mar 2015 04:50:31 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fs8sm15180311wib.8.2015.03.09.04.50.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 04:50:31 -0700 (PDT) From: Thomas Monjalon To: "Xie, Huawei" Date: Mon, 09 Mar 2015 09:34:20 +0100 Message-ID: <2555986.7pPEkRWugN@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1425638358-26523-1-git-send-email-huawei.xie@intel.com> <1425639943-27157-1-git-send-email-huawei.xie@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] test whether file descriptor is valid before close it X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 11:50:32 -0000 > > This avoids closing -1 in our case. > > > > Signed-off-by: Huawei Xie > > Acked-by: Changchun Ouyang Applied, thanks