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 4B038431A2 for ; Thu, 19 Oct 2023 03:16:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 447E14029E; Thu, 19 Oct 2023 03:16:23 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 193BE4014F for ; Thu, 19 Oct 2023 03:16:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697678181; x=1729214181; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C0cjolg06S2iReU3CSUUPNqfGD8EsJPR3n3JWma746k=; b=kOX7Wf5ZfFpqWLPpJeyYE77E6P9W7h1Mgt2y3kcyuWdJzAFb9dLZYYDq A0l8lAZVGj9KvCrmiQAU6u+STpmtnkczjH7Bzs+nyJ408Yb8wz8eLGo6r Hu++4MWpxQblLQUQw66lLj92PRrYDE6x5iMLDZIZ0jt4wjC97adsyB1uY k1p2C3gyfwux68XJNS9T+l9rLpH2BaEu4FLvbS/qUgF9pjqKY3kCr/ReG rO2EP0+pMmyZe2awCiSuj3npA6Q+o+jy7Gxb+Ug/6sMjB2gace/tgC51I SuC39+rZZLllJ4jYSO3DIf22lg/2HlmN2Q9uupj16Q9mB/QZpfbqzCjOE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10867"; a="450370773" X-IronPort-AV: E=Sophos;i="6.03,236,1694761200"; d="scan'208";a="450370773" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2023 18:16:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10867"; a="750319197" X-IronPort-AV: E=Sophos;i="6.03,236,1694761200"; d="scan'208";a="750319197" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Oct 2023 18:16:20 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 18 Oct 2023 18:16:19 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Wed, 18 Oct 2023 18:16:19 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Wed, 18 Oct 2023 18:16:18 -0700 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Thu, 19 Oct 2023 01:16:16 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::27ea:67e:2966:23e3]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::27ea:67e:2966:23e3%3]) with mapi id 15.20.6907.021; Thu, 19 Oct 2023 01:16:16 +0000 From: "Zhang, Qi Z" To: "Xing, Beilei" , "Wu, Jingjing" , "Zhang, Yuying" CC: "dev@dpdk.org" , "Xing, Beilei" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/cpfl: fix memory leak Thread-Topic: [PATCH v2] net/cpfl: fix memory leak Thread-Index: AQHaAYlrLHnKcaagXEy3S7zhCzLbg7BQUISA Date: Thu, 19 Oct 2023 01:16:16 +0000 Message-ID: References: <20231017110655.582873-1-beilei.xing@intel.com> <20231018142723.835474-1-beilei.xing@intel.com> In-Reply-To: <20231018142723.835474-1-beilei.xing@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|PH0PR11MB5207:EE_ x-ms-office365-filtering-correlation-id: 0f63c0f9-c54e-4fcd-5452-08dbd040fe13 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uG2CXzkQOvaeLeGHEpDomENdTygrswVuNRKRivhHcED/yAPutwh5vWNnINDCW0kksZ7DjoUD3vFjgk4fDpdOyfcUg5bxbRVsx+r3uRLFfJTGkxN0h4v9IgaDjzDYo7XgI0/NjZcOxx0xrHh9fYV+fg4Ll3aKTKPARYsQ4OuLy8qqhMk4Q693+PjjjvoVUm9zN7JaS2HeK7fpXms1zNFw/gLizfc2TIPixi1/d6zHokQGoivxrmthbRoM5mLRrwoslqR9JNtzGTYd5xFI3+AlEHfp4I2UhftEwKoNgQehxe6HhyS7XtS5E3MryG5ANbDUNpJx+MLQwVJhioYhVmydh0/q01kMRva8JJsZY5pLV9e0eJR17Yxn+QsNQm2qG8vg89nX8RwzFVNynriWM8Iw7vRa7KZgWe6CavQ7z8bHwC7c3T5sEKwjILSJo+dxxbhrLIC09IXAPkS7UzWKNE7F3GeJHRG7BRM8XAnIlUoHczXx9TkjcKF+cL4qqwH2AshMMbH0DOMpYDardCi20LBMlrdsEFXQ+GNd2zEjTkZfCsJvizF1UkGq5XN+hOj5/O0kIoaDqEc+w0iMxfFvsAl+ZY0zLvVVaw0UKC0upgSJEXZWeEYrSPymT/ggaL7Adda5 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(366004)(39860400002)(346002)(396003)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(55016003)(66556008)(66476007)(54906003)(6636002)(64756008)(110136005)(478600001)(66946007)(41300700001)(76116006)(71200400001)(83380400001)(38100700002)(86362001)(82960400001)(26005)(316002)(9686003)(6506007)(53546011)(33656002)(38070700005)(7696005)(66446008)(450100002)(122000001)(52536014)(8936002)(4326008)(2906002)(4744005)(5660300002)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?axX/6nJx89gCgYfIXLxMiRV4nxKZK4p0MXgZo2nr6/ROfufFDRaJeX8c6ZZ8?= =?us-ascii?Q?tVB67uYZKOSNbldkGFyPnbWFXkqdONEyzVefodoMOY1BncQ1HEdtJcE11r8F?= =?us-ascii?Q?ZWjh17Nz0gHU58E8A9ui/OB/kONWSM3QVPwLq8qBebjyGXd7BNzEIPDWNbhr?= =?us-ascii?Q?FpeMJQGYFGbaP4dj3h/VWtNjwAcEWOXSVx7m+VeYMKPq2qUaaP57sao1QAze?= =?us-ascii?Q?cd9km9K6rIXDdBPG3cSAnKIeGO95J7MzR+cGQ5ItaxHNQ2B1FktfkCmyK2gk?= =?us-ascii?Q?M8WmVyZoHQnR4ZfE2ILBbYA/nIjMpCgONew76tKozEAiB6t59hp3Y5TLGji3?= =?us-ascii?Q?w2HEdFBde0kWKi4cMQhsPYnRDKayCfU7YoB7N+6CD1l6ufRmzYwa5y19argk?= =?us-ascii?Q?JcRVbivOhNdKuVn65tliGL/26S1tzHn1YjZP/ubmdfdxFiP+FVu/diItzEPc?= =?us-ascii?Q?rcVOXhzZC3frDPgs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hQEqzbSgsFGX7?= =?us-ascii?Q?0Du0R8tzGeJ6qX7h7WPXvIyUPYxYlklVWw6p/cjXRYNKh5/kMsS98KVCFJQi?= =?us-ascii?Q?oysDC4+2TBmKlF/puOMETZ7O2dP010raLBfF/2HrazcnH8zSsfX9gtzaBP+S?= =?us-ascii?Q?ikewdhEZIT/veyxSg+V0mWr5piNaQvhiTxyAwkzW4TRfoiCXMPaP4RoYCcrG?= =?us-ascii?Q?jNHxUSnAvEtQcWSgWTbEu5nv22K8uWuks64nxIYQ?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UDi+i0UJxkRWckIvLY2OehGIPVUQe75R4I0dLOz1ktf8zOaqMYEsSzARZ9S0UEZQMYzKIKtZ5PSIusAGNaOqRfmsrM+zpm5o1xaj7Dheg8NRUAA8EdY2vrZwq/aVZpv6UNIBvh38PFhIiPE4ECZIxTbnkKUnRccIXs+NK9L7UcVkTFHeesXXrs7B3gV6KhUPSfOUGyCr4EyVaJTEFvkMo/lpII3lG8sZJ3hZLtCaIdzQJeZ5iEFFUY79EK4SQx4B3vhGicB0gi6CUwO59ttm1iuCoqxiSQ13j/4FhmQS66ddsAHwxhmzQzQJA0bL3sFKdZ/5CtZTtjxJKMKe71SkZw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5RT4tNRhdEB87sV5G3C5V/MpZaTu6/yWtH7m/TJQz10=; b=Bw0PbOQ4yedk2ESY8YVcECA2U/tq1H/ZHptagEVHaKEwThrbiLyLVp4k6eFOPmJFnx2LBanAaGLyPs3yGngFZJCT6KGfyjbP9XP6PXl7TKMN7T47Tjbu848FOyX10D9h1AmvP4LPPJJirFmXelq2tO18QQ3xs0bSBcGWwd0gNOViAtWxixWSqBfpzp8BnsFndeALY34vwQeSqL7XFafqHk6Jjz453UKJn/TDoSdX3yhis1Gb1BRiy4hscfb3v9EJW+vVHPXQuGAFxIbnIEY3TaL310DLpT4VS3gC+G7PCLpqdwgGcfjPxEAS8wZIwoz07Fwdosg00ebVWpizLBW87Q== 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 x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: DM4PR11MB5994.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 0f63c0f9-c54e-4fcd-5452-08dbd040fe13 x-ms-exchange-crosstenant-originalarrivaltime: 19 Oct 2023 01:16:16.1867 (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: X6qCv+l7WbPgZnUXW+djoJ5bO0P56ibqJYHZKjXlX6IOM/lzUT92m8Bw5Mc51icwWIY1llZziFZgWm1JTfhsAg== x-ms-exchange-transport-crosstenantheadersstamped: PH0PR11MB5207 x-originatororg: intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: beilei.xing@intel.com > Sent: Wednesday, October 18, 2023 10:27 PM > To: Wu, Jingjing ; Zhang, Yuying > > Cc: dev@dpdk.org; Xing, Beilei ; stable@dpdk.org > Subject: [PATCH v2] net/cpfl: fix memory leak > > From: Beilei Xing > > Fix resource leak reported in coverity scan. > > Coverity issue: 403265 > Fixes: 2d823ecd671c ("net/cpfl: support device initialization") > Fixes: 989465ac51ea ("net/cpfl: support probe again") > Cc: stable@dpdk.org > > Signed-off-by: Beilei Xing Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi