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 D47C1A0503 for ; Thu, 19 May 2022 11:25:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C90C040150; Thu, 19 May 2022 11:25:45 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 361A240150 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=DlLfhFS1w4s4ULNm6FE0OAcL9UkQacH93c9soGo2aEc=; b=GllVDXL1EpR8agz8I1z4Tflq7NNsB01pj6eCinh/p8cVt4mZyDPsrMFp jmXKL0Mrxz1OlMlkK+aDPs5F6tUZc/9kF2DGFaHarmf0tEPQM0rDzr1Y6 xzaCWlRIG/hnsdBCjF3tOrQjwnwqc1Jbe8l1VcjUV7xOrCH6LvwhT+Lac IcAXsgOo5acxwetr+3mOdsmwWQkS0Pz/bszOcHBy5uS+j9K0yhfO7cfFu vLAOsylKGg5EmDvfqunpRCDFQjOqG5SyCNhGvyDEajwCOlVV3WlV1RRtz JubmJoOiqLn5DIrLPIs42g80T/14GOwUc9htoNFnqCVfa9eFxSUkNbhJe A==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="252632147" X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="252632147" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 02:25:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="661604099" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 19 May 2022 02:25:42 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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.2308.27; Thu, 19 May 2022 02:25:41 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) 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:41 -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:41 -0700 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-ascii?Q?zf4QVgDtT2tPd+3Ipz9adrxhnbvsGfvBTAnizxno1RKPVLeRx8DsrEELTvy6?= =?us-ascii?Q?ZaFOp9Fsrov5Jyx8SvZ5OT6b6TxqodybST7D3PP6wnhZDb4TPP6TtpubLpR3?= =?us-ascii?Q?jfcjlyXFEDytzgkWOMBB+P4UD8RXz3N0PHmx8QAr9/OGjHprKlMFuL2xTcGt?= =?us-ascii?Q?/3jIBU3NQw/EdXqTS4PRdaN21t/9xUKlZfcsFt02lzQilcNfmkQMSzAnkCbX?= =?us-ascii?Q?zYt8zu5Wrg4nmPvOulQebdnCYp+BCbUdzZvcJJrddz1lHQRX6BCfdMJDzi8V?= =?us-ascii?Q?4tSPb/OLaPu1RGBMjcwDVQXKGjYAqlWI+TiDJurg2tAht+LDqXexVDdgZS4K?= =?us-ascii?Q?jPN+pe9GqIkNkeDmvu8uLPDZTLQM1iyo+DIlhOwow+/p+JJgbBavK3mnFnNM?= =?us-ascii?Q?qn3MqJj1u2KknoIcvlEPQ835us/tbdYUft+RmHyucak/Eja6QgPBDo6GTUay?= =?us-ascii?Q?l32YDmfahysGP1P4H7I7IWHD45NzpvFUDrxyjYkDOsjqaAbd+J3P9nduRlpb?= =?us-ascii?Q?PWDTwg9DPaVGD613LA9+iI9I1+DZ/2o6eWibA+FhfW3PSBhJxiEWAT+f2j3l?= =?us-ascii?Q?EvraGs/DlhpkuG+vCG9u/mAzdbXu4tDpwltRBqdjVioAxDogg7sf0NWsIjMh?= =?us-ascii?Q?u656qoTjFWCe0XYyS5vbVQfnSVti2IbmOIcsIMTzHCmp8qRywMdjKRYYzQOo?= =?us-ascii?Q?I5DurgUerCXUzNxIKzAAbPDVPorYM07KAbuvgGGH1fZVlctxefEBKN/mvxRj?= =?us-ascii?Q?E4ZGMsei850IwHyj4/jxulVecMQf5TpL5hebmIF6XZPHwIwCse2/lzTViAln?= =?us-ascii?Q?EfH/BbaPOurVZQ8/my8ViJo7Gy689qNUxTyrL2gMsADU4f8QcGg9P9R03e7z?= =?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?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g4i8xQgLjPFVTBGwmA2JVtvjJYAQKxAzjyT9IS5ewK+hzycdRuWTNIHx39yw3p1V3qpTSDUq96v0pD0kWu1o1ZCCqwZV4QTz4CmQeNtZtgLP5WlpRjYeZ4wpRgZ5qaLbs+R+BDETzCd3i28fm01zJX8K/LrxSGWiNBHgUBIUaswEcNGQpvMQTzYSN9XczWSLkTzlqbSteSp+oSHpb9LcLnw9XCFHsiFGyva846O1v0Kj7FHqrS2ps6uSnuAvK4BG/9kwxQebXpoegGZvmCip8NarOZy2hj+Fo6iTzKIWfRN2bv3WF8AZ0rAM6tdby4XEq5zBO+8DmdKTa4WA1X6ybQ== 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=wDRizgEok5MvtTn+moQ4h54uTnKActlL03PN5MLIiIk=; b=n9mzcXMOC2Ix/XN42BZxlmPCipLbxKwO+aN4MNADfLhdSyjfqk5NbaTeo4mrBCecZEsr/ZJiXRVroduYAw6M60HRNDfORhQ7j7dNTR//z9CA0P4344v8uBH9Rt1G3Wrv6iD/LwxJiML4I03la+LWGFuFyfNt756UOzIGNgdAQgjVCqQAokvo9HD+TaXCzb47mXqfAH2MKiAXdHzVU1vNGG4oKXlof//V64FxOhOajYblyhBuHDho/Tq0AyvKGNOfAw5TzB4Ie61CSfk3bmzIbGVe5r/QXOnfpiwS30GgZ8zJhviz8pL4Xfz7tD8Txu0gEXOuU62i2FFkFdEqotSCHw== 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: 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 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: 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 > > 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. > > Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx") > Cc: stable@dpdk.org > > Signed-off-by: Ke Zhang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi