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 B10A9A0C4C; Tue, 21 Sep 2021 10:04:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3661D40DF7; Tue, 21 Sep 2021 10:04:46 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 5241040683; Tue, 21 Sep 2021 10:04:44 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10113"; a="221418784" X-IronPort-AV: E=Sophos;i="5.85,310,1624345200"; d="scan'208";a="221418784" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 01:04:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,310,1624345200"; d="scan'208";a="518131400" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga001.jf.intel.com with ESMTP; 21 Sep 2021 01:04:40 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 01:04:40 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 01:04:40 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 21 Sep 2021 01:04:40 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) 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.12; Tue, 21 Sep 2021 01:04:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d7b0mw2zvJ/BjHQvLZHzDfGowKGanCvvApz78wf0zcwRGRZyTNUcjmcaem49cMQ7aYQyfmGiIg/PzrE/A4qUA4NnxbFeRPZFJ8/3TKy9/UczhWRY2GBrz0wNl5cPFoW4/eY80YQMT19schJgZdjyGRxicwqfX9mzzEfwzuAeg2nO4v0qXZhSkb0m09Ax1Ve1+DtW976pwwkD72+7X4dIWlw0clG1U7bxSy1IAHElzgEdub3Jf9ssDCzgWEz7O0FUIdVP+4ZQvDmiqRondfLBJH0SYdph+cwa8vmWjkEabv+7iH+JJYFRpGmgfxII37qHkMeaNwyMGo2F4WXwaUJVyg== 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=fV6wjUWckIJsJ0xrpn7F5ALDuJRxilVKwJou5JJh+Vg=; b=H6jD/ZebbzNkvhA1HOvQMglQzSrbn2M6mqXeIhqtG+w6YuzXbhvT1EvW6C5+0OvB08/Dl2vV9+9HHcrjxj7jQZG78tx590pjof4Ulp6XSiNg80A+3Fv8gsQIYgfa+I1kg+UnYwjSjJ0aEeLqtslujWo9k0qaGrx8Rg06dOl8+Dk9Hq1+976JZcTLY2xZU6Dc2LaE6k/h1JSRz6vfgyNQiH2TqvcEDw4SO6Q4DVR7L7kswXz0npTs7yIVw/avCe6cOS39B5irJeW3okplCO08+mb78XV7w0nlMK3qEvISazOGz/TkZghBvnmZ5qA6YNeBGAAtaoLDHhkiNb/B7dwD6A== 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=fV6wjUWckIJsJ0xrpn7F5ALDuJRxilVKwJou5JJh+Vg=; b=bs9VmCqqcLTg9vl2Q8G5hWV7NeFlu+ZtM2ZSV/tIBcwPf0SGCZvnS+qCdAaEOSMVRjEIYX9zgYr8Tk5wShk5NjRu6ORRwQy0Gvn600ZIKo4AY1rlVFjcvhDhgJJACjvArDuJGAF+inAhFuNh4P7uDSr+iSXRHYcSQwth/ZBunI8= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5144.namprd11.prod.outlook.com (2603:10b6:510:3e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Tue, 21 Sep 2021 08:04:34 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4523.018; Tue, 21 Sep 2021 08:04:34 +0000 To: "Min Hu (Connor)" , "Yu, DapengX" , Chas Williams CC: "dev@dpdk.org" , "stable@dpdk.org" References: <20210915050802.454669-1-dapengx.yu@intel.com> <2c3d6eac-92fd-fa2c-7ad5-5ff5bc99e1be@huawei.com> <6f5fab51-fd98-3094-9f4c-4baba66ea53f@huawei.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <5349a1d6-6899-56b5-39cd-b03c700987d7@intel.com> Date: Tue, 21 Sep 2021 09:04:28 +0100 In-Reply-To: <6f5fab51-fd98-3094-9f4c-4baba66ea53f@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB9PR06CA0020.eurprd06.prod.outlook.com (2603:10a6:10:1db::25) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB9PR06CA0020.eurprd06.prod.outlook.com (2603:10a6:10:1db::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 21 Sep 2021 08:04:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a8b301fd-96ca-4121-7401-08d97cd67308 X-MS-TrafficTypeDiagnostic: PH0PR11MB5144: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:639; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xqHYx8cTm1ZITnsnQ82dnOVuQo5Ih0zUSMLkZ2Il1E+UJEPO7+5V1NaVZu1IVS/YbHJUp45QE8XGb/70xp0mbwLH6G/zUfUDsOA2Ky7WCVST8gD2CK/+FT7DbQG4pI3v5D4hSVppsTrUEIVT5vyFQNn1eAos4PMKF10Mr/5KskEkZIf765HLQqG/iNk+t1s5aILtOGTTfkmlpzfeahgJWNs2VjoFeDjLWiGcB21P/P36i5aAiE94/GCgD2BBfX0a4e/vv3ea98iV0whvi4sOPgP0VKj8Ys1IneHM+JRbWweBh6u4BLP73BFsqWGhT6Xie0Asn7fNnfkEw13h342Zu+Gd/T/feFWcaAEciHvKNpUEbtFwXYoRvEpGI4W+9E93FFIut5ikIPZPBrbMcEvHXUlQ8ifYcZ1NLCKQYdYg9rkRUreeaWoharXXEgCusY/KJdnq7sDK7ChBkCQdT2m8NQJMcqjqCMV7Vasp9PXk8NfTIu7fmigGyOnpuZFELfagAFej6sKABZaewtxK5A+GjAJF2/q/wOROZm5acDVMmSLSvmRROd2UIjrk8ROuE1Lk8t2R4ugZFfZF5QJPINd6zZ3KgY5cmMpBfsf2oa/bFJmGbMznVgPiSUPZP5TYG7glxhsrNwI8a1UifP9HzoEpFTvtWGZKL2sVjbgvRnzSeeWqLK1icPEIB7EycPdBi+6pXVCFf77qg/tRwb5U51EOBA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66946007)(316002)(186003)(66556008)(66476007)(4744005)(54906003)(110136005)(31696002)(4326008)(6486002)(86362001)(5660300002)(16576012)(6666004)(53546011)(508600001)(44832011)(2906002)(36756003)(26005)(83380400001)(8676002)(2616005)(38100700002)(8936002)(31686004)(956004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YUdPZVlhd211ZXVKT05sY3Z1cU5lR005VEo3L1dhYWRSTGlhZjJRRk4vY3JY?= =?utf-8?B?N1RjNStTakMvNytCaTJIN2h6OGU1OHlqNEtna2QwZitlT29LSkNEYnVReTNG?= =?utf-8?B?V0ZOeVdHb3ZEd2YyOE9tTm1HTXBOYjRURVkxL0loWEtjZTk3VXQvdXdweVdX?= =?utf-8?B?N0JBQ29JOVUzQlh2c3ZLSGFwVjZsdDlpNzZucHRJN1djMXNBN3FxTFRKdnNu?= =?utf-8?B?QkNCMjBDbnJZRFNNQXZFUVJ2YnN4UWdmSkxseUFlcmtZSG9RVndZUm40Tk5x?= =?utf-8?B?cEd2a0tIdkhoVVRrdFJCRFJSZTNoaStCcUlaY1hMek51WTJYNn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ZqQkZuRFFPTGFTS0dx?= =?utf-8?B?OUd2SzliTnNrbmRIb0VWd2lUYW04aGVNRGtiRXZrbklhMXR2emdyVmV4OU9D?= =?utf-8?B?L2FIZjkvcjZQR2JuMFJtckloR3A3cG5ZY0k1Um5tNzJPSHAvN1NWVnRSeW8z?= =?utf-8?B?MTFyY1gvaUg1TGw5azhIc1J6RHcvRE8rVDAwUU5XR1FhcVloT0NNSldORzcr?= =?utf-8?B?clc3bEh1dWRobllzOGZ4VjAzZ1VDYmJ1ZmRFREhTVFA1MVBTZThGdk5PUG82?= =?utf-8?B?Z3NIc1NHaUZZMW5ua3k4QmdsUm1LNGNRQVJVRVV0TEp5aFNMcUFYcStQUW53?= =?utf-8?B?Z3RQZUlXd1NkS0prTlAvRkFZVkFveUpEL0w1UUJ3RGhlalBFRkdXM083akdJ?= =?utf-8?B?SVJaYU16MDZtWDd4TFd5WFpBeDJ2VGtTcjBDS3BrL2tjMGZSdXNsS0pQZ3U1?= =?utf-8?B?VVR6aXhZVXUwbXovTGVlZkRDVVRpaXV5WkZFejFON0pPMEtDdGZSK2xadVRq?= =?utf-8?Q?otkLzrkHq1g6EVYqpOWxTgUMQyYdN00TYuAJnZV?= X-MS-Exchange-CrossTenant-Network-Message-Id: a8b301fd-96ca-4121-7401-08d97cd67308 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2021 08:04:34.6267 (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: CE4PHXETHk6WnRM11Uqr6RVOIFwAefCOdio/H9Zltkk6J7I0XFa0flesHfOE9NO6ipdaEd3qf4PO1c3u8dCL7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5144 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device 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" On 9/15/2021 9:16 AM, Min Hu (Connor) wrote: <...> >>> 在 2021/9/15 13:08, dapengx.yu@intel.com 写道: >>>> From: Dapeng Yu >>>> >>>> If the bond device was created by vdev mode, the kvlist was not free >>>> after the bond device was closed. >>>> >>>> This patch fixes it. >>>> >>>> Fixes: 144dc4739975 ("net/bonding: fix leak on remove") >>>> Cc: stable@dpdk.org >>>> >>>> Signed-off-by: Dapeng Yu > Acked-by: Min Hu (Connor) > Applied to dpdk-next-net/main, thanks.