From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5F3F558CB for ; Mon, 9 Mar 2015 02:35:13 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 08 Mar 2015 18:29:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,364,1422950400"; d="scan'208";a="464394680" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by FMSMGA003.fm.intel.com with ESMTP; 08 Mar 2015 18:28:36 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 9 Mar 2015 09:32:46 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.62]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.234]) with mapi id 14.03.0195.001; Mon, 9 Mar 2015 09:32:44 +0800 From: "Ouyang, Changchun" To: "Xie, Huawei" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] test whether file descriptor is valid before close it Thread-Index: AQHQV/2jMbtnz9/IGkSPJ4SdNx/SgZ0TYajA Date: Mon, 9 Mar 2015 01:32:44 +0000 Message-ID: References: <1425638358-26523-1-git-send-email-huawei.xie@intel.com> <1425639943-27157-1-git-send-email-huawei.xie@intel.com> In-Reply-To: <1425639943-27157-1-git-send-email-huawei.xie@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 01:35:13 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Huawei Xie > Sent: Friday, March 6, 2015 7:06 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] test whether file descriptor is valid before = close > it >=20 > This avoids closing -1 in our case. >=20 > Signed-off-by: Huawei Xie Acked-by: Changchun Ouyang