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 17FC3A0C41; Tue, 22 Jun 2021 13:59:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 84AAD4003F; Tue, 22 Jun 2021 13:59:48 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 10DDD4003C for ; Tue, 22 Jun 2021 13:59:45 +0200 (CEST) IronPort-SDR: Q4H49isRY1wdpDw293hbvCstx0f7XumjpQRENRzTAJktC0ajKVpyXRn4xXcdI1CnPVz+8O+NVc wpLTdxohMgZg== X-IronPort-AV: E=McAfee;i="6200,9189,10022"; a="268179294" X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="268179294" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2021 04:59:42 -0700 IronPort-SDR: kZ6wEOlAeHxkEhgx4Oca9KqMo3aipRu/pXn1LyxakVJMzumGEFPtoZg9FXMIduCJHs88WsrHmj HYluphBijknQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="406306158" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga003.jf.intel.com with ESMTP; 22 Jun 2021 04:59:39 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 22 Jun 2021 04:59:39 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Tue, 22 Jun 2021 04:59:39 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Tue, 22 Jun 2021 04:59:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dCiMUggRPN5dGpy9yyuTxt/NhrVCruaT9yv0AaTZ94gFpBvazi+d7uHMtjLCApMqspe0JU00/avbABkm8PgT6rlwvtpttebfMAAhZKoQEIQ5wyTdJPJvFhdvM7FN68C+8uvxYRfUISjjJhtN8t0XHAT3SYmziZeyN3bhZocM2lP3UhxPbi9XhyCUPYD+8loTgUKHH95o4K+pR93LozAr+oWu+6KLY4RirMKOGjzvCNjr3MebBDfr1FhURX26p7YLm5B7mxdT54NDM3xmKVoef1vlhjQMpCFogwoctupJ6xXNxvMdO+j1IFE1tIdZ1wOevMn5QEnIKLCarz1+kEy+1g== 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=uNchakHTjJBEZgmkJWGc8yVnsfnGHAKXHlrRcmjTRCU=; b=SbzHyAGnCPeY8E9vLET4eHvWivFlhQdbs13pu7BluuouocTffv8iMYANmqpbjDFCna7omeVRfA2oY5t0uCpH9Mds4emoq1KRz+Sg4kcKWNbf16CyK5cUvLVg0nuBLCnnnH3HZq+ZUseFEUegjrtyYxS+BtaFXlrx74cQXbEX3jcSeEc+ldcW3cKltgsiKXJiGAK3TmWMeLXD7USTIBMZ2+/PFlWVJjo9RocbR016BrU/RWE6NXQtxGJxwU7v0bpJn7Y3D90Lalo+K6kp0SvD9GHshtQUlkrGnx0zN2uWA/VlTYb0FgzdubZWGeaNh76aDUeCXXbxvHF8fu4iVR6AQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uNchakHTjJBEZgmkJWGc8yVnsfnGHAKXHlrRcmjTRCU=; b=Pp4vhiEQTcBPIQW+HrLNtwwLe2UcNszVk05L3t8y93vBvCqoJw+RHJMaqBnY1r/gydXCxnIp9CdVC1CXHaXNQD7YhHyBj1D4CEbHiMwuc0vcaDbswLOMzlbF25dLCzoCnx5HKGuSH6FDuLoLXa7SG7ratrI/8wGT2ZkTC7gdMAw= Received: from DM6PR11MB2890.namprd11.prod.outlook.com (2603:10b6:5:63::20) by DM6PR11MB3004.namprd11.prod.outlook.com (2603:10b6:5:67::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.23; Tue, 22 Jun 2021 11:59:33 +0000 Received: from DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::6d82:e6a7:a1d7:fc91]) by DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::6d82:e6a7:a1d7:fc91%7]) with mapi id 15.20.4242.023; Tue, 22 Jun 2021 11:59:33 +0000 From: "Iremonger, Bernard" To: David Marchand , Owen Hilyard , "Yigit, Ferruh" CC: dev Thread-Topic: [PATCH] lib/flow_classify: fix leaking rules on delete Thread-Index: AQHXYunbKipdQYm6o0W7h0/Gam+4RKsfqWAAgABI8KA= Date: Tue, 22 Jun 2021 11:59:33 +0000 Message-ID: References: <20210616195724.366103-1-ohilyard@iol.unh.edu> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [86.45.108.187] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 69393f91-a3cb-4b07-c8e2-08d93575332a x-ms-traffictypediagnostic: DM6PR11MB3004: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rpxKUBlivao90xtrXkpcZFfjgTVMWccuaI7d14vegdvPUt7+wBpB/HL0WKlSSKYEd0K/jybf11raTxYURU3SzP+wi6QOmZrFXNKH+UklNUiyBhxiJicMDXNkLeMiiTMhfxv+WJCuPh/q64vl+OD2TGLNgbnmA5Ev/t231bvB1pRMGnP1yUuXAvOdndABTOJJHfHtmJApL5agcrvVdnjwp5pp4kkWqXAbP/ZRt1lC4pRDnedD5vZJ7x1mgWtUBnSpwEcbMT/WJLAK+w6LASUxrAWNSHuFtmsmCVQJCK1VYunSCigDy7ZQZwlX8aHIlc5sGPEN+3Ktemppi5Ah8IcbcrHT7d0E/5qvnrfgCfOp9XlrX3m4WvCjA+ON0j4RxRkFqKQyB/GMXanoxUepIS+2QZUACrIsBokPMnxnrTMi8G9QycpmkRSfzPk2kqbTXiF6tXxS/ErxYzotvqueJgIiokbBSu/RyDU/dfZEThwAFqjyQSiykV4leBV7TvSh6vraAeYIGTVrmXNekjhU+tUxrhjE8h6KsXac4Ks0/XmAA2LynviQwN1RUAJKdi19C9BT2VFRG+3wikl/nRDEeWIhqU0y1giwM9lvimrvNV2Pxtw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2890.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(396003)(366004)(136003)(346002)(478600001)(186003)(7696005)(6506007)(110136005)(53546011)(316002)(26005)(4326008)(8676002)(76116006)(8936002)(122000001)(6636002)(66946007)(66556008)(66446008)(64756008)(5660300002)(9686003)(55016002)(52536014)(2906002)(66476007)(38100700002)(71200400001)(83380400001)(86362001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?aFgxMXIzYlBTa3U3QndrajZkdkkwZ2NvL0VzRy9ZYU9kcCtuOEU2SXBvTW1m?= =?utf-8?B?M29TTEh3NVREdzFPVjVHOWJvZUUrTDdMY2VSSXRWVk9GSHpRWlQ2MmtzeG9n?= =?utf-8?B?S25QU3llRjdKcjBxTlpUem9FanJoQTZJQ1RyaG5icnpyYTNSWkhSNDVRamVw?= =?utf-8?B?ZlNCazNadnJ2S2dieEtKaVUvMExrT3NqMVFFQzAxa2JzaUdqc2NQT3kwbE53?= =?utf-8?B?ZTA0UDFqdUV5Q1FxZFVUcURoTE5ZN2M5UkdrcHpXYVhMZldGeTBsVzRtV0du?= =?utf-8?B?Rk45ZUhyc3R0elNvR29xd3lBZ0oxMHZ2dVMrREg5QXZURTFoZ1g5b2V2NEs0?= =?utf-8?B?akFGOW5ZT3QrYUI4S0pBeFkzV2VOdmtoMkVWelhBY3FJZC9NbUNMRHhBd21S?= =?utf-8?B?OVpsL1RGSzgwV0VtRnE3TXRmL0FWYmJnS1lYU1JWcUpMeGs0NE9KVXlzTmxC?= =?utf-8?B?Y0gwM2wzbUtpbDBUd0tCRjJISGNROE8zSERFZFZ2UEtuS2xZSmFqRXRDQ3ht?= =?utf-8?B?WmpSK2o5a0pFS3NtQjhvMFVqaXZwTWZZTVdiVlpXc3NuZ1RnMjJBQlV3bVFX?= =?utf-8?B?UFlaOFJwWEk4Q0xLU1FNV3NUbWJUejJlNitQRHVudk1XQVhSZFMxRVRDQVZ2?= =?utf-8?B?M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vdjl3QzNa?= =?utf-8?B?NkZLclQ4eGkrQllTc3MyU0VZdnUvT3BqRzJvUlRLV004dm5KNEI2bmduTnRa?= =?utf-8?B?RThFd294RjFWZ1FGcWpvV09uUC9HWHl5TkM2M3poemVjSGx3M0RzMWdaZHJz?= =?utf-8?B?UC9LU0JjTURCa1NCNEhXMXhjRG1TMXE3alZGVkVxdC9ZK2xwdUd1MjI3UzJy?= =?utf-8?Q?8LFMaelFu90Zm0j7gYwO7fKdC054yvIeyHwKtUk?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2890.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69393f91-a3cb-4b07-c8e2-08d93575332a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2021 11:59:33.4684 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HeuDLck6UOiBfiResoyMqJsd7tr3Yi72UOQuxaKHCj6JmjQJp+LPqt2zmsaPpv9n6npw1eXuh6Yw+LHYb9cN1A+9kkl8MHhmFwbVT5VQJR4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3004 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] lib/flow_classify: fix leaking rules on delete 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" SGkgRGF2aWQsIE93ZW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog RGF2aWQgTWFyY2hhbmQgP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