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 6250BA0503; Thu, 19 May 2022 11:25:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0785342686; Thu, 19 May 2022 11:25:46 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 50EC440156 for ; Thu, 19 May 2022 11:25:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652952344; x=1684488344; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=QLCpO4tOl4IhvTia2+0HPLtF8FYkJ33RXh7JVI8IFcw=; b=GdGKYQ6LOF2TVd5L99fA9y70cFra6Q5n4Ej/FAkwFhqka8o8xbo9QK1K 9XKgE36gFJEk5yas8Nfm8uC2zV6yha1Ah1Vb8OcVFc940SV3/8VgyEYYd S/1rto445XjIRRkFrnIq9ow1c/u46BWkBgNMwRnUQY4zln0BtVfM0aWgV ZsPbMsDrgSdJjIB6GmmRO3yzDyOTLXmfjh/cxipgfSPDW2pqcOBL/WKqO TY2FTSiN7SPChoWpRxi/oDOByLAhBfM8Rjqzg4+N4j1r6MJCjpgkDcELz 175igSPiB8Wrn78EwrD4CTKAEDusCLMHz98d5QSPsABdty0tMzT0jbJrB A==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="269700279" X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="269700279" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 02:25:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="701076715" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 19 May 2022 02:25:43 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2308.27; Thu, 19 May 2022 02:25:42 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 19 May 2022 02:25:42 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 19 May 2022 02:25:42 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 19 May 2022 02:25:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BIVRR1aLjJ0Z+Ga7PrkE7MzugJyIyq4Ynvc8tvTh1ewgOJhMke6rTe5a2JBIuSVK2VspRsEnv2Mb0ZvvnmFBFrLqaScamjvucUnmC5fiZ25w1ILsxkszC3Hix7YDjJXoh5evbT4mPlYfisi+CHWDeziwsIdMo/ZUGpVyLmnzF9DUhXG4kuKVSHt7pCujMU3crmf6pjaXE820vzqL7xEbljPFwysA+dRRk130uO9TTQXcM7W0l1EU/WiRZpprO6IW37w3AP14CFMU8IhjoWNMMXRFckO9xYVwBjkhhNU5q2lkl77/I8IQLSyE+8UvZAN0VO+YvEHQzJM6z3lQiqVDmA== 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=QLCpO4tOl4IhvTia2+0HPLtF8FYkJ33RXh7JVI8IFcw=; b=KruQrBzZHzTFQCKkzftEn5dU6MEGcZS4eSKyOJ1cZ6VBCX6O175Ek3NoxTo6sD1lTxtnu1RFjIb6kV5VOiIUrIWTIEyenZ3UIeOU8slUCjnoZ5dbJdCRkuuEvDhqK7wI+E8ejo/kKeK6sUx9Jj+SqePykPfleRaWQYlA78zt9L2qzqxNagDHqkjC224w6j3+/3VMBgqiftLxmmsm0jOIkgzj5FBJv/rmhd5CAyk+DibZHvrj4StnlqEMiy9JVQ+U24hDBD/29Cs9xZfXLwEtN79kfZdBim+BBOgwSqiV63oU9Dj6ybyR0EC2uJlhYZjYbxPNoo+RoeoeqkesJtaUwg== 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 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DM4PR11MB5423.namprd11.prod.outlook.com (2603:10b6:5:39b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.14; Thu, 19 May 2022 09:25:40 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7%7]) with mapi id 15.20.5273.014; Thu, 19 May 2022 09:25:40 +0000 From: "Zhang, Qi Z" To: "Zhang, Ke1X" , "Li, Xiaoyun" , "Wu, Jingjing" , "Xing, Beilei" , "dev@dpdk.org" CC: "Zhang, Ke1X" , "stable@dpdk.org" Subject: RE: [PATCH v7] net/iavf: fix mbuf release function point corrupt in multi-process Thread-Topic: [PATCH v7] net/iavf: fix mbuf release function point corrupt in multi-process Thread-Index: AQHYa1QwpnuzGwuRVkuzeOIJ4mbUsa0l7fVg Date: Thu, 19 May 2022 09:25:39 +0000 Message-ID: References: <20220516065529.232946-1-ke1x.zhang@intel.com> <20220519073604.254482-1-ke1x.zhang@intel.com> In-Reply-To: <20220519073604.254482-1-ke1x.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 65772e79-340a-494c-ce80-08da39798a3f x-ms-traffictypediagnostic: DM4PR11MB5423:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MYqfjc0IZMD8vHfN3kLu2upxspU3QQMNI/qyqtnIKLP+TyRD5Q9xdrALCX7fuiOjQ7PlDUmoi8LlVTuehR4g1uYdeERFGX3ACi96yJvV/yJ3zAEa6Vyl5g6UGyMVsg0FZWX61BJfiOhhelrACi6ypIuQ9md8skf18O9Cl/WbaIqOGBSXAErx/mDkC+8WOVgFvx9IbWEAKwJsyD3cQZr97jGa0dPsS1k3TI56CelkMM3JRQKf6KlVmzZN44jxw1MavScd0SyHwYdPLfncWivGAJtgxrJ/A3EA2pDtBt/KYHp0gu9CFZshWzZqn5BfFuFihyVy+wn43ugqFwnMftGsylXgPfYzUAvjoZM4VwKnbZxYaD0Uwt3awmxfDcL1OLjx+xpuy/lIcq63g+T1M2OA2vsuQY7aly0TWyc3iogPlFnM0YhY0+wLyp7l/YvIF5rcTZ7deS0eS0RD+M28kha31yZlfAxWfvcpxq5BaRkiyGd1kxVymMIIPBXAyDzUNnJdjsmehQU5Rlst6y/1eQ92UkMetj4RSxJudrdy+9YqPHPiiCxmMaKa0WpRf4qPkcu/heKouJkNdxagbzWcwOeklDrO96nSl7EDxsk8MAoJ4Cdt+oWot+0ZmrfUVzePe2pdiKuMgVetga8OPcCH24PvVVYzZBhnUd0YwuKo7XPnEtjvVET3tYr38uannrrafumNeLOf+AYNiZM7AtmCwkMnBA== 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:(13230001)(366004)(8936002)(55016003)(122000001)(83380400001)(186003)(7696005)(52536014)(6506007)(508600001)(38100700002)(38070700005)(86362001)(5660300002)(71200400001)(8676002)(82960400001)(450100002)(26005)(4326008)(66556008)(76116006)(66946007)(66476007)(4744005)(66446008)(110136005)(64756008)(53546011)(54906003)(33656002)(9686003)(316002)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6Ow9nS4qnE6a5vgqboHmO9XifGSPLtZxtyPJUpW2JoMX0oEhbPBOpP2ZjpLI?= =?us-ascii?Q?sdCEjWy0D5CyETPY2D9+ZhKZwZFNtUPOLS1JNNEQkdW9Cby+jHp42C0oUl0u?= =?us-ascii?Q?orNPjRCDnsa2zaxdym/HLCcmlv8scnFDbAn2Tgy8dj6yf8XmjEBVYjtUYasE?= =?us-ascii?Q?MYd8ixDbA6xosbumyTgLXocsokJ+yuJ41d9FIz1yMlg6+BsJfIdJNKx2+ej5?= =?us-ascii?Q?OWSWFmynbeAUy8vqE+58jhCkeM99srzA+fC8xklcxBJ+RoLXGWb1hDSLzDgZ?= =?us-ascii?Q?1xHOeOMD8lZ7CULmayJ+BpKCubK3+iP9le0eSVyvjBXhmwkbNz2zLC/Ff98u?= =?us-asc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P9R03e7z?= =?us-ascii?Q?V7NTIfEnwZEiPhXgL0+uFdLmRl7bp1B8mEIyniV6bFxfdku2RikRBM0htolS?= =?us-ascii?Q?0BFgH2KMwBBLoLdLIETW9nRY3TjNCMxzmmgoF1WieWvyFXL/ALlM0oLYwuD8?= =?us-ascii?Q?FF0Ex5vcDwaMTZAUnlAe8qW+piavalFB+/NaUcDQj1yMU+IBG5Kzs3jftWGO?= =?us-ascii?Q?k6IxNwNXb/qM8MSuV6rVJFM1NpVMOQvaSGillyVVQ9i4A6xl9p7tRJbyRdB7?= =?us-ascii?Q?tD29Xt3SD7NSRcbW25Fc+vk2bc8/jZkhNcz1t5sHp63OKKYvF87QimDIIrLE?= =?us-ascii?Q?uBdmTo945+vvoRI1qfgcoLNAywMK9Rzo7h5GdGFV0P0BLfUJ/CsFmQ0aT0gS?= =?us-ascii?Q?1QREKhKLHWJ1MlenPRFN1ObVwCC5RLEXwAsNtjWtv6BkiW3Ux83NmtgODrOz?= =?us-ascii?Q?PAALOD82dMzh9R+DBFPgPuVKDZphHtrYtgY9fZmdhoXT6KtLV0hvai4wiRLm?= =?us-ascii?Q?2pR7qTDX4w=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65772e79-340a-494c-ce80-08da39798a3f X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2022 09:25:39.9140 (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: rJXW4SztcAOrBISn+qa3YRa3rc9inChW4YORZkcxJTCFAjjbY3zhG+Hi+4aWWFkN3YCFexQm5ybyNSMyJScvQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5423 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Ke Zhang > Sent: Thursday, May 19, 2022 3:36 PM > To: Li, Xiaoyun ; Wu, Jingjing ; > Xing, Beilei ; dev@dpdk.org > Cc: Zhang, Ke1X ; stable@dpdk.org > Subject: [PATCH v7] net/iavf: fix mbuf release function point corrupt in = multi- > process >=20 > In the multiple process environment, the subprocess operates on the share= d > memory and changes the function pointer of the main process, resulting in= the > failure to find the address of the function when main process releasing, > resulting in crash. >=20 > Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ke Zhang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi