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 4CD88A0C5E for ; Fri, 5 Nov 2021 04:04:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E8B5410E9; Fri, 5 Nov 2021 04:04:05 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 75EFC40151 for ; Fri, 5 Nov 2021 04:04:03 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="231681532" X-IronPort-AV: E=Sophos;i="5.87,210,1631602800"; d="scan'208";a="231681532" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 20:04:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,210,1631602800"; d="scan'208";a="668116874" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga005.jf.intel.com with ESMTP; 04 Nov 2021 20:04:01 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 4 Nov 2021 20:04:01 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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; Thu, 4 Nov 2021 20:04:01 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 4 Nov 2021 20:04:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bIq7RNy2UdQIw61UbiBfa7Rc3G0Htw/SjK4hGJVJRCHI8YaCS+Sg8eXUE8EkerwCcTCAiijyPY/UnkSQiVs9Mc2WPQQqNnuhSqqW6Myw+tn00ebve+Q0mQuWjfJ0et7s9dhHOycgenH631YuD65J/0bMKhMM2GfJJv2U4KZ33VcImBblBxabkJNSoX0h/AilOwkk/ZH+ATncxN5Xm/VlIW+2b8yt8wDX0W3t2XOQT+rbywunae8L/PtHqZ9YI3D10swyFeNc3T5O2KODfYOYY/gEJl9ObHWWEXU1C/uKT+ycpTVf9kGf/4T8+y5Kl839bGi4IczYCJRgFaBi0DNdzw== 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=TDYvcZdvOSmq/GGdE+7yb8LL+6DpUwhqyU+JjRBsYd4=; b=adPLbca7yyZMu2NyS6GVLhd8PSlf5gTFi4eO6gpf5xXf0VLRtf+vWhC4WQSgOuUJeLDWedYBAtJ3yY1/NXNzrYu0gm6tegWnCxsFp+YKwV3PWYU417BAZ+CBuD7N8o1Bz8pbj/0hy+wGgftiEcNd4TivhsBz0tQ3rGOAMs6UpCrAnI+JRKIkubUIXhp8ax73s53rSE2DAk1BPaIFg0BIL05pbxN+Dh/K9aCo5SK0cjdrVhzUHv6YzXsBQNetDRiuIPV4u0I10btbshqJUeUOtm75zNb3XwZ8DiHTsleuCVnPHOF3XWRLv0T14fV6WMHOMt1SOd3q+HLSdLiTrO+QYg== 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=TDYvcZdvOSmq/GGdE+7yb8LL+6DpUwhqyU+JjRBsYd4=; b=aBmgjAGNOlyH32IWtLoy0orAd9WzWF42wrXJJY9x+fp7ATfsdURi5xMs2YW0/FkYSvdH9qNIPP6eL9Oz6a+v9PGXqk+wIEbuCscHsDA2k/iOtN9X3+4Z+pDwXF7K+L1r6CTcwjtEaGO7aXEUIfiW9qF3h6iihj8rCcdHIyYI8tA= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SN6PR11MB3261.namprd11.prod.outlook.com (2603:10b6:805:c1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Fri, 5 Nov 2021 03:03:52 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511%7]) with mapi id 15.20.4669.011; Fri, 5 Nov 2021 03:03:52 +0000 From: "Xia, Chenbo" To: "Yigit, Ferruh" , Thomas Monjalon , Andrew Rybchenko , Stephen Hemminger , Matan Azrad CC: "Yigit, Ferruh" , "dev@dpdk.org" , "stable@dpdk.org" , Matan Azrad Thread-Topic: [dpdk-stable] [PATCH] ethdev: fix crash on owner delete Thread-Index: AQHX0WvLhq1J0qQOSESIZhvEYRNRW6v0QINg Date: Fri, 5 Nov 2021 03:03:52 +0000 Message-ID: References: <20211102234434.2639807-1-ferruh.yigit@intel.com> <20211104110422.2920154-1-ferruh.yigit@intel.com> In-Reply-To: <20211104110422.2920154-1-ferruh.yigit@intel.com> Accept-Language: en-US, zh-CN 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=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 71463aa5-a7c5-42fa-b5fb-08d9a008e60b x-ms-traffictypediagnostic: SN6PR11MB3261: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: INT7VCkzl3mDFdVUyirLE62U2X1Sjyjlj+HWWueqNQ+7BuUKCp/fGYLV9TCuShHysk/1a4/wc9o/rskyFNigMmRq+YIinVkRuvI4UcOHoPVYTrAbqdBmI1Tq8iR6APkv9V1G6xoUm0dgEaS+uI9STQrIYlAIvrZN3B6sQKdDLjruOXvAhDJ7lJ2lt+bIx3q6zZqBqvk/Yt2t9FqdqFIRA+3skL6bDwdxUC1gVR62O8//ZW9f4GoC13sdrHHL4JcpSYjCk9qE/ABaPQ1Ydf7nt69Vcn6GvOyO1RmhdiQmCpRghgTPytv9Fqpcazl/p1RFoJz0P9lENeKIfDZQ645vChH4GAH8fUlSUeJB2Z2nr2MjkJnegGlKDxVT12FCaDUxOGqW1sPd/8CE/k7bCR/SvJWwI8Mt5lF/6c5vMAGlgpMVvNihL8zyZOcKR5y+Mi7W6U240NgoZSKkdZyodyNCpCdlozRPf2GK+AiRko4+D+M70K8X2Cd6EEXa2a0paTEi8yHWh4CzIm2wpKR8uDxZqFjWuK+DeXZLg3BgPYdFwdAkvWP7kOxbfei7zaahXPz0G+US8bBgxotBaObTBQdgKW+K/TOzpFyoJZtqVW3cX0FFTz2KoBcoAeK616jfxe1uNnu3+R35gP5YTm/ZWKtQvRGWJwTc+GXuLYfb/i7xYZmxFFckVkJFal19PSJtPp9PhshLD1tryT/4y33nnuCLiQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(71200400001)(66556008)(86362001)(54906003)(6506007)(82960400001)(8936002)(8676002)(7696005)(508600001)(76116006)(9686003)(53546011)(55016002)(66946007)(66476007)(83380400001)(33656002)(64756008)(52536014)(5660300002)(38100700002)(186003)(4326008)(122000001)(66446008)(38070700005)(316002)(2906002)(110136005)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RXlMYStNTFdTZGVjT1p3bW1BZFpmUGtTOGhsZ1ZidE53QWU5Y3c3TjlBaFVY?= =?utf-8?B?MUhsNWhHK0NwcXNUNkJhTEM5bXBwTUtmNE8yMXhtNS9ndHQwODRjZ1V2TXJF?= =?utf-8?B?em9tTGsyWlFrVnBjajRWZUlZQ3FjVHRuNm0yTHFBdSs2VXI3WjYzYWVnaGpa?= =?utf-8?B?bU1wRDNDNEVFSjBHdnN3VzVSbkEzTnEyWXh5VHE2U3UvTXU4NHpLNXV3ZEZO?= =?utf-8?B?RXZKUk83clhmL1Y1TXdOakQyNzRQN3hRSGp5REZLTkNGUWdZZkM0ZTRZVzVB?= =?utf-8?B?R2ROSWovTjFKaGtzOVlpcllBa2RrYXY0TXN3d256S3BmYXA5REN2b0x4VjUw?= =?utf-8?B?ejhnVnU1U3dhQUZ6UnB2aWVwVDQ4OVU5akpkdURTa2JueE1NQnBweU9wdHlr?= =?utf-8?B?S2grNVJ1N2E4aVI2WENVaC8zYThUQ2t1RXViMlBnYW9rVno1TGVWTEhTaEF2?= =?utf-8?B?ek1XQXorYnFOcXBMK3FudGVNcXVBREJQMURNOWVMSkliR0tRT1BmdWVaamVa?= =?utf-8?B?KzErdEVWUmRWZmxDa0Jtc0VpWHUvZ1pEd3FiajZmUThBZXBHZzZKQ2RFemVS?= =?utf-8?B?Wm1mUmwxOGRUWnkvZTl6NlNUN252TlVSQ2pUSS9jQXVJaT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TGhSWTZwUzMxejRxLzFoRUlpU3B5?= =?utf-8?B?dUJxeUVrWm1GeGdaQXVMdVRKMXJuMmJ6V1cyblNXeWpicjRpeHdpeXR4MFla?= =?utf-8?B?QllDVEhYVjI0Z0JGZFdUekxvaDU4TjRCS1VHWnBVcmRRUzBIMGhEQ2dMbkQz?= =?utf-8?B?RWhVcS9WdVVTR1k3dzBjdTExM3FSVnkzMzA4dUp4YnRtZWQrZ05GZUE2bEUw?= =?utf-8?B?cEtoaWl1YkE4RmhUMWpNRWQwQlVCYXpScUJmbnc0OHptTWxlclhoaWIvTytq?= =?utf-8?B?RU05emhUcHlaS1FxaHcvMTFWVDBxbzZrbFEyM01TaGNURHlZU0tXVVZ3aC9s?= =?utf-8?B?ZG9TeVNlTW1nbDVzWGd3SjE3RjAzcHBVd09WODg0WHMzSndEeE80UXBlV0xy?= =?utf-8?B?eWxyQ0ZJS3Z5U3ozSFBBNHJWb1FVNStsTGV0ZTAzRWQ4ZkF1Qm05ZllLQVE3?= =?utf-8?B?TUE5eTU5ZjM5MkZTQzYzVUZ1ZnhwZU1rOUxZRUc2VlJ6aWJvQzdLMUhQUzBK?= =?utf-8?B?RHJKaXB2Qm9BRjBzTmM4d1ZUa2NYV2Z4Wkt5K2gzdE1FQlJUdUV1ZE9GVFF5?= =?utf-8?B?Vnp5VDdOcmtKZWo5eVpXTXVaUHptY0ZZUmR1VSt3VDUxYWZtT25VL0NzNmYz?= =?utf-8?B?bkE9PQ==?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71463aa5-a7c5-42fa-b5fb-08d9a008e60b X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2021 03:03:52.8146 (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: 6arWI+4wh41TjqQCtxdxtET8f2Dgv6sxRZQiwKrikgLWBjp7melCR61Gzcf6fxvUPxRus5Ih2+589FMwnXmZmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3261 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH] ethdev: fix crash on owner delete 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 Sender: "stable" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBzdGFibGUgPHN0YWJsZS1ib3Vu Y2VzQGRwZGsub3JnPiBPbiBCZWhhbGYgT2YgRmVycnVoIFlpZ2l0DQo+IFNlbnQ6IFRodXJzZGF5 LCBOb3ZlbWJlciA0LCAyMDIxIDc6MDQgUE0NCj4gVG86IFRob21hcyBNb25qYWxvbiA8dGhvbWFz QG1vbmphbG9uLm5ldD47IEFuZHJldyBSeWJjaGVua28NCj4gPGFuZHJldy5yeWJjaGVua29Ab2t0 ZXRsYWJzLnJ1PjsgU3RlcGhlbiBIZW1taW5nZXINCj4gPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIu b3JnPjsgTWF0YW4gQXpyYWQgPG1hdGFuQG1lbGxhbm94LmNvbT4NCj4gQ2M6IFlpZ2l0LCBGZXJy dWggPGZlcnJ1aC55aWdpdEBpbnRlbC5jb20+OyBkZXZAZHBkay5vcmc7IHN0YWJsZUBkcGRrLm9y ZzsNCj4gTWF0YW4gQXpyYWQgPG1hdGFuQG52aWRpYS5jb20+DQo+IFN1YmplY3Q6IFtkcGRrLXN0 YWJsZV0gW1BBVENIXSBldGhkZXY6IGZpeCBjcmFzaCBvbiBvd25l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