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 CF02BA04AF; Sun, 3 May 2020 13:33:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 84A471D539; Sun, 3 May 2020 13:33:34 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50072.outbound.protection.outlook.com [40.107.5.72]) by dpdk.org (Postfix) with ESMTP id 3523F1D531; Sun, 3 May 2020 13:33:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nD5xIpAhzZJ1otryUhhMnaIAxb7sl68p9VryMXAEfWyX/7bKGMc/ZmLRkrEEc5wFxQk/wJwpVmU8Mrx4zf/Py93HshPL/6feFxkYMxh2dtpq7uwjmrIuHY5oszvHC9OYuoZqSGQ7knO1SZlBAVahnZo58zp8V6W77OOR7K036MkMAj1MZ8UCPraSb/Dczep3tL2fppLvkTkuVIgU6kNbMXYMhq8i6RsiZXIMa2Byf376m9g4V6A9dlV67DNo0+IoaO2Yqjgy9jn8mPfD38AuRXFnohCBlEe+3Yj4FDjF/RR8U5XFL8WcL9q774ljI9ELilrSpQVoekq9PgEMq8sW5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IxAWXYBo16/ja4qPGjk/zPwckwSdiq2+6rrEO+UQmlQ=; b=fHqUU7LuMOBUrpgMIebirc6jijuEntAGa5U15ue4d6zPwRmv4ybEoLlW4WHyo8EArJEwAmg69kxCv4ywNvBf5n5jqCE7CmpIWxaZpTn5pe8R9SPlYvKBXGZ/EDXe7+wEgjoi0cgbNnv8jU1XvppVNJGEs712eJq7lKTFLoLap6tlqIv/8UMnxVaIRYGiQ8GbEk+YWrcvF/X6Ia+nmNf21JhMokAQStY2pkx5Ww1/XBPX6puH1ab2MmmJuVkG3q/HLhv2urCldWxHkX0fMSvTMV7WJhrOSVZKEBZuNi03woMZJBN0osrFI4ROcH5brRjNcJsftpcAptXvtScaOTGL5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IxAWXYBo16/ja4qPGjk/zPwckwSdiq2+6rrEO+UQmlQ=; b=FuuyW0UQpB/82oGKMz/MfkkhYuQKB2IcAoCZ60O2w2ehmzy13xXBC4JecD1A6GVQT63JwsoQ7CAmuZ4ucoBYmeGFnLQvVcmscOmdaWFLXjDfhOu6mcJeXepIbNkJWA2Z6s29MbBpaiZh7cUBEhYFV+qEm2kimoBzGIRGqYbbgsk= Received: from AM0PR05MB4401.eurprd05.prod.outlook.com (2603:10a6:208:62::20) by AM0PR05MB4196.eurprd05.prod.outlook.com (2603:10a6:208:56::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Sun, 3 May 2020 11:33:31 +0000 Received: from AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::7913:410a:98a6:bec5]) by AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::7913:410a:98a6:bec5%4]) with mapi id 15.20.2958.029; Sun, 3 May 2020 11:33:31 +0000 From: Ali Alnubani To: Ferruh Yigit , =?utf-8?B?R2HDq3RhbiBSaXZldA==?= , wangyunjian CC: "dev@dpdk.org" , "jerry.lilijun@huawei.com" , "xudingke@huawei.com" , "stable@dpdk.org" , Raslan Darawsheh Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH] net/failsafe: fix fd leak Thread-Index: AQHWHLS+GZ7br3z3TUSuNQl1RwARsKiWNezA Date: Sun, 3 May 2020 11:33:31 +0000 Message-ID: References: <1587984259-18296-1-git-send-email-wangyunjian@huawei.com> <20200427111210.7pm3rkifd2zcrxjo@u256.net> <2c742d0c-1478-5fc8-cf7a-ffaa81b592f6@intel.com> In-Reply-To: <2c742d0c-1478-5fc8-cf7a-ffaa81b592f6@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [176.67.117.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 67d8f74c-1b1f-48b4-4db0-08d7ef55ced5 x-ms-traffictypediagnostic: AM0PR05MB4196:|AM0PR05MB4196: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:302; x-forefront-prvs: 0392679D18 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mp/h88EB4Oegxj4ocHwyXaiyLhKgrTuzMqMuiQ01JRK/ObQiMAlNqisLWPA7sjpPvhgldDM2EuGs4awrMN8nIBAuEWCY73QG+hT/vxIqalQecQGlY77B3SWiCO3td3qupJceMnnFlNgH73D1oYfqMxHtSeSsgIMN6QQKMpzCIPMr5I1S362OFWx0qhRORPtA7KtjphZJcoLQY2CDYJeA0UCrWy7K20PylhH/pNzy0d4je8roYG2ctgEzqSEm8+Du/HxVlJN1TSUxC+7nq+gZCWA7FwEQcaoJxI/kqG3k/5PIaBgaynUPzs/EkbAi1e4YauZYFoImUofcVFdKb0GzZCUu+PtUp/VkpB3HzT4NmWsLiXoIuiEX5Ku+Vl7q0E1WDrwYmF/cWrzxgGJFTt84H/gzXXtFIJJsH+qY6OCm13v7++QkFQ2oLrgqjUv2Rhfx x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4401.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(346002)(39860400002)(366004)(136003)(71200400001)(2906002)(7696005)(186003)(53546011)(6506007)(26005)(86362001)(66574012)(478600001)(76116006)(66946007)(5660300002)(4326008)(55016002)(54906003)(110136005)(9686003)(107886003)(52536014)(66476007)(66556008)(64756008)(66446008)(316002)(8676002)(33656002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: bfqJOphEsrH+xL1p8yfJdErib+YO3Y3ePjQkQ5zmzVSI7frPpyAEIS/5q3pi1LAbG68S6+CiMa6jORKCzQ5zPbZiGHwk8y4q1Li/gjbf3NcwNvvBW3o6VZ5g32qSUFG04yGE0xYVaX05djXgvEHipA+k9F3G5NDY2mgsrW8f7IZ8AjyXQ+0ZpxMHwX3YUD5AgcZOTMAIYuldenlHnhPBz700ygOZa8zTJcAhBTIwst9VeBRdsAdGxXsRVJMN4P+VelMpR5Fs9cfcglbrJuTvfBVREJ/KXm+gQqpGX4jOdryUY0tCBymtykOXLyABzKtmreae2ETw6vJ/rhsA6s+7wNMMXC+vdBC/tMEuLnbAErqBe5ycFPGKbJMlZ9m7KHUMJYYe9qUuYsFAYVJUv6+vKfvEcHaYO0rxla+f4roIpHvIkZ0iCfK4bAB+ftEVuHqXrO9V+udvNIdQ24CweMhxrq0fSlPG+euBI7IdK7mz1Ij/+guMrKYgIsom8al+xsugk9xUmO0nXbvg3Z+ZnHIHsLEBFACR38Aa4M813aOd15VJQTxRE4cMkw3NIvTxQAzUsLUw4b8MibW5uHSP3yyA/IrocIlx8aOaCVeTsHMI2eej8HvAG7k3GyxGl0HXzCN1HDe3CA0khiqhe6qK6SjgkXf5Yc3tIWvd2ey4Y336EYyo+hUrpHYOLAUxyKRMbhnQiCgUQdoaQu+BJXbIoLcBRaEEG8Udb2oZFh0h+iR7i1rBuTAtubsNrlqTgecLKU6vJnYjwCckp59qug01HTHgqrKtr0fK/1I3SOBkVbAVtuc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67d8f74c-1b1f-48b4-4db0-08d7ef55ced5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2020 11:33:31.6049 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y6PAej4+32sQh+9DYnlpobxK0XwkJpup9bZSxwCoNBkhHB94I+c9Olw2ISFbFASgqhgDQ9A+SxG60OZMPDH4ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4196 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/failsafe: fix fd leak 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91 bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIEZlcnJ1aCBZaWdpdA0KPiBTZW50OiBNb25kYXks IEFwcmlsIDI3LCAyMDIwIDc6NTYgUE0NCj4gVG86IEdhw6t0YW4gUml2ZXQgPGdyaXZlQHUyNTYu bmV0Pjsgd2FuZ3l1bmppYW4NCj4gPHdhbmd5dW5qaWFuQGh1YXdlaS5jb20+DQo+IENjOiBkZXZA ZHBkay5vcmc7IGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbTsgeHVkaW5na2VA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