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 25F7DA0C53; Wed, 1 Sep 2021 09:47:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1191A40140; Wed, 1 Sep 2021 09:47:19 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2050.outbound.protection.outlook.com [40.107.243.50]) by mails.dpdk.org (Postfix) with ESMTP id CBB3540041; Wed, 1 Sep 2021 09:47:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSM+jzcOG5uKEEIv3uMB1/H0fNRRXei5Q29DHIvlldtcu6l178bNzwDNKnegfkTw80f4DRLfKTH/5xRsbdL8iKB3IqGVd5jwqBD6axM4dszs/NaPRcP+qR3Fx1SKug4nrqfhLGLZ+vF8L1DDNg4+QY/QfIN0b2yxkXAE+pMM9ieh5aEmhPfyC4jlu4MnDp204h2QhSv9Itm8YtOAdnn/wqD42DRMJi1rfU1tNFPi2g2j18ZoMiXCQlPBMUOib+CVKQoPFQJm4qu7PwIzt0yaVyCWRj/b3HYmTLnyjpENzh2yBxek94preQG+swhm2s/1iughSFcZh+p9lqfhfBwsPg== 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; bh=rltMJWfMHwhMVKTwD0je5VvVxpZqdN1lOtq2HmM3/6g=; b=c9jbC/cXDxEmtRp6iXo0uArZe2ezSNDYKhGyIxPeCSZT1FaeCGW2JZJXLyKVGY52YvLB/Im0MC5MdygFe+K5qTzo2QWk0CQbFr4QVuQTcSXq9ZW8XvpjWocj+G5Q5hy6cAUf6MT6zTEDNyHms6txxct7Jog9BngHVGyo7p0dMgur+1mXOc2+bshdCad2Njl8IBh0Vf97GR69P2gtElFPtfzn9UmpQCH6W2diprxtXkKMA+JDyEN0nne9zPsZM5jsnI/3tDJIN6Q8WsFg850aHIhWS2rhmpMak9WCwkGc3wmvnqzZZr4r2QjB0DheobsoTAEX3Ql1lQpwmoyh70yDCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rltMJWfMHwhMVKTwD0je5VvVxpZqdN1lOtq2HmM3/6g=; b=ll4nA5/WbYN0v+dU2MtKnIdR09tTd33Do+hB8ykb2Xm8UsG2BgUNeGL00HGic2Dsx50SfF0depn1hw1xXfCKMqTWJJVYbB6JdbKflFc1QtADLCukoMYSgarkiHxOcWb2kRMZn9d8JyFG0HDK3h1V5wBRPai4EMb9lk8sdtG71OREDxxAVVzS7Nj65EYXw5xc50IWBo9TmyLdZrl4WqxWuMSHuFR0Q1jNf3p5+uKkw1F4J5boPHPBCEC96t0HBzp/fIdFTq9k/fbx7oAbXGaGM0PN2MliYAnM/iWV+JV0VIUSa3TTJYgatgLGT1egVyukRJW3RWgloHQm1mLHw0vhNg== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM6PR12MB5566.namprd12.prod.outlook.com (2603:10b6:5:20d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Wed, 1 Sep 2021 07:47:16 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::6823:63cc:f7d6:dd00]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::6823:63cc:f7d6:dd00%8]) with mapi id 15.20.4415.028; Wed, 1 Sep 2021 07:47:16 +0000 From: Matan Azrad To: Michael Baum , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] regex/mlx5: fix RegEx probing error flow Thread-Index: AQHXnqg+uU4ATkSa0UaklzyliyD946uOzbsA Date: Wed, 1 Sep 2021 07:47:16 +0000 Message-ID: References: <20210831203838.3411249-1-michaelba@nvidia.com> In-Reply-To: <20210831203838.3411249-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3c80d39c-2164-46ab-7875-08d96d1cb7fc x-ms-traffictypediagnostic: DM6PR12MB5566: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1468; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5TJif0CGwF/XGA5eT/BFRIl9b1zWpL5TAsHthYXujy3bcOM8xxH91ZPlGvo/uGCY0aFl8PkX14KUOJd6nAn3kO022UnWJHrV3UkDzk+XKv/BnNZkIsW49TRjmKuRRSd3HtRsfPMrZc1rivO1tlaFtGmMO7WVXytHPL9a2MtiAs1Tq4G7ipQC/STCyCPp/HJkbXe0GZsKO3fHzrBDxGxuVpAbOetsOSKMtWkg92Jl/3JIctCRIbOw1cj1V32Y8f7VtrNptgjYtj+Ns1XlQROEk6ksq+E5LBfzJjJ4bFfmqmI7mhYdcbTqannjN3QaDQUS9tY/9mmTLQs0PQXKfdfIhQofGTeddH9JYrVLidQycwCbMPBs4KW1EhzMsPNewq9LIiOJUn2ip43oLzbyWyWZlkdu2Yqb05IuZuSzjqtFxTnurWsLl2R0gjO2Ah0tr6r17lD3GPjvxKXP7B/8YxOoGnXh+fD9rdsVFZOzCx75C0xee0OomT+kUJSG9j1cEK4EKXVjz2rBQ7iIHMJS5KSU2p6b/4eryKzmRUIQZJKsM8CD6i24I30J8yZ0EDbFS5oqoEeHt9slX4RkFvKpySWm9pELBjC1qqg70NQM+d/Zm/OPuB5k8PtXex4bWGVd5WgPKt9eN78Tw2cWGNGTjiJmON93GPnp+yGuXMuBM6hZbygng7anTbq66pj0VqWVKejUGwKgvPbXO1bIvTituDEXcQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(366004)(136003)(376002)(396003)(8676002)(316002)(66476007)(66446008)(66556008)(478600001)(71200400001)(64756008)(186003)(26005)(66946007)(38070700005)(7696005)(76116006)(2906002)(5660300002)(33656002)(54906003)(9686003)(110136005)(4326008)(52536014)(4744005)(6506007)(38100700002)(55016002)(122000001)(8936002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GklEwKl0DrXIggIp9VpF9VA3+WbrdJ3meBQL2KR2scR9Bi1e/wIfO3ygN+xm?= =?us-ascii?Q?wDTY5e7GY9gSL5VRS3gKQcMiDr/qDYHoGuyr5R5voPHJ4LuBazS+X2YubF0F?= =?us-ascii?Q?nSCHZK3pHJmiAk+YA2FcVo6G34fNArq3Tju6PC8BQpdFLp756gKmra8QGsPx?= =?us-ascii?Q?z2ChZ1yxtd0clM8A1oOy/3BsIh6spuxiKfIdaGnkb+ow53dc184O9kypba6X?= =?us-ascii?Q?y6OhQoCdnWIJBJDHCxFfw7SgRv4EGdnh+vHG98KA8xDxEkY6FU5pwjt7SQIy?= =?us-ascii?Q?gUhc2On1GDpPcN33XxXgVAmqp1HZLIsbq2GriPuYoV0jYmLaVti0n/8iH3Ee?= =?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jw9bPljA7SXAB3?= =?us-ascii?Q?/vXpci73GO4BkjCmGvaT4liqBAflIEegdZbVC6hk/Ct76y592gsrmdCsahVx?= =?us-ascii?Q?fVQ=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c80d39c-2164-46ab-7875-08d96d1cb7fc X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2021 07:47:16.1828 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MdOOXdV8o/IbeXZ4xv2LvTweWEqzvng+qUNKtBL7S1bfW9eM1Iir0Mz1/+cWdAdUOMyy7yVrKXzVu3X5ufku1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5566 Subject: Re: [dpdk-dev] [PATCH] regex/mlx5: fix RegEx probing error flow 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" From: Michael Baum > In RegEx device probing, there is register read trying after context devi= ce > creation. >=20 > When the reading fails, the context device was not freed what caused a > memory leak. >=20 > Free it. >=20 > Fixes: f324162e8e77 ("regex/mlx5: support combined rule file") > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum Acked-by: Matan Azrad