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 378B9454FA for ; Wed, 26 Jun 2024 04:14:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EA1142DDC; Wed, 26 Jun 2024 04:14:12 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 10688402A9; Wed, 26 Jun 2024 04:14:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719368049; x=1750904049; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XgwD3YH72v5gcAZVwelGKXlJ7LlFRgjCt5wKMAKiDVA=; b=aZAhbt+no4SmoWzC5J7YD1/yhrFPNZKmJdPhYwD+DwrqHExvdXV2ICew p4LtpZgzf2TUsiVNA9WyBxN0lfB8UMVkeFsippQGzigfpRIF7e+PKI4ww hND3uUeO40BiTdItEmBa8i59M+o9ylHe0tnQoaUNzpkCFEhmyDvpsUNOd Otiaf1bEb0gUIDztadiJPFb+/n8RIFYKv/cbRtXhScH/60hS2Mvl/XQeT u2nPww5IVZm2Yx116q0Za1bSKndh69qxj+iQzmPVStBndPalSzFU3jg7d knbCXL5KUV3A69oliKK0LXpps9hiyHXumONpem7OrIU0rg42OzecGo5bi Q==; X-CSE-ConnectionGUID: kJyHxBPwSfyGHN8E/UIYgw== X-CSE-MsgGUID: aJkI1hSvTjysD6dvrF9mQA== X-IronPort-AV: E=McAfee;i="6700,10204,11114"; a="38932554" X-IronPort-AV: E=Sophos;i="6.08,265,1712646000"; d="scan'208";a="38932554" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2024 19:14:08 -0700 X-CSE-ConnectionGUID: w/pqMyC0TSmYR5dqyxy1MA== X-CSE-MsgGUID: ZNgiYtH1Tm6RTgEMpkWtZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,265,1712646000"; d="scan'208";a="75059120" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Jun 2024 19:14:08 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.39; Tue, 25 Jun 2024 19:14:07 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 25 Jun 2024 19:14:07 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 25 Jun 2024 19:13:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XBfzOEGGD0M2inq5nhOE1rpQvQpc7/svz9IZUor+RjO4A4YMow6xfNPd9sSroAOEa+trOgMMbfHDoRT20gaNc+V5PtgKl10dvmRcIo0/kWkQFiLNO+PEfk58xv++rplxUH7+kdJMfkUQ5PtaLRTgC1sJrrOleTZ3FvCRS9yRk/sCTMpNinstbiRncX3nnz4qEtg4nC2ZGHUdSJ8ptV+Bo1P+gMMn10fg+oeLWhy8SBlPeto6vMtBj8tY2NUupIyG+JXd132dznDsMH/0etJzM8/BD0O2LRDkshxpYiP1ea1cBnLdqxdVp7DlHU4cQ2FechPHvyHgJNZqn8lM74qEag== 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=XgwD3YH72v5gcAZVwelGKXlJ7LlFRgjCt5wKMAKiDVA=; b=gPr1IcJzSvFf/joXr5ckCrDb1tX5sqYBDD2pT/UPGR0D2R1TyO3r8mV1Lv7rhF9dDoPxPPDJpXhbdG/dNA+u7aQfEACoLFXtaTrqzRRrdubIqLYNdVuK5DaiTlcwm8P3VLlu0Y0CrP7vnDpMMhFRJrpvT2nYLoQhQcOp2jBjagNHAFkdTuufogRVYSJFfUvEFZuQaUe866ZlJOD/VLkI9h/2T3ha1sv1ncrhWnvcNx5XZunv6iACLbujYli25sWTx6slf6bU5OMTYKqmO8BfwQ8eR+pitO4ZQ04M8q0s2hdYQI4qxR0UX+msbrHUUm6m7XdcYeCCtF8GS5YZR2rHbQ== 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 BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by CH0PR11MB5297.namprd11.prod.outlook.com (2603:10b6:610:bc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Wed, 26 Jun 2024 02:13:50 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::70dd:86ce:61a8:cc3]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::70dd:86ce:61a8:cc3%7]) with mapi id 15.20.7698.025; Wed, 26 Jun 2024 02:13:50 +0000 From: "Jiale, SongX" To: "Zeng, ZhichaoX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zeng, ZhichaoX" Subject: RE: [PATCH] telemetry: fix potential connection issue Thread-Topic: [PATCH] telemetry: fix potential connection issue Thread-Index: AQHaw4L8sGbbYKWadEiU1gXl3AkbpLHZVSzg Date: Wed, 26 Jun 2024 02:13:50 +0000 Message-ID: References: <20240621024037.3412372-1-zhichaox.zeng@intel.com> In-Reply-To: <20240621024037.3412372-1-zhichaox.zeng@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: BN0PR11MB5743:EE_|CH0PR11MB5297:EE_ x-ms-office365-filtering-correlation-id: 6a835990-0ab5-4b32-9602-08dc95859e81 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230038|366014|376012|1800799022|38070700016; x-microsoft-antispam-message-info: =?us-ascii?Q?Fs1fmUCyMOw4HvGArf8q3QtPmpMH+Msx9806FXnx5cLaC4PFsy6E9S8kj5J3?= =?us-ascii?Q?fy47/FesxULKs3vcbtRJEirilRC/JjbAXxUKkCIs6GxgOsZMa6cjkUktVwj5?= =?us-ascii?Q?22fUfNCC5qN977UbvP1uXi8Ki4prXC7YCAflO9rMOaDE9MhJLLYEdmgJA0uJ?= =?us-ascii?Q?93v0KPmozWKMz0GOZeF60h1AIufzUrXAQV134ChNcb3IvkbytwfQPiHrXUGV?= =?us-ascii?Q?q7eYDUtw8Pp0bEXhcfYSs7hSczCRV9l1tJwuH0VZxeQlv/vlOmc4FQELLiW8?= =?us-ascii?Q?L8r5sjl/dX6bAe/h+BG1JHcZ8ZPKfsvvkZsbpL8j8S1Yw7fGdO4a7DHMtlQ5?= =?us-ascii?Q?Ydtz9pMjCg14i1CnWO9/9rcFNiVy/fWbEde4l8lw/fK8gYhdfrjnoSv1v4By?= =?us-ascii?Q?84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DV5jBpNkvH?= =?us-ascii?Q?kYr46s8fWpsVcY/vM8W1lFrlcboWTOquid5zvmSpzHl9T23XYRQNECY00k9a?= =?us-ascii?Q?/Ut8/VOD4YDoBQ1P87SMPAc1FaLldNAIPsSFXPtL30mSHtxH1g=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230038)(366014)(376012)(1800799022)(38070700016); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?H/F9gi1ZnQcC+wuLDEP0Bn8c+E2tr2FQQz7+nkxeDOOQsJC1sdKwM5j5rZoT?= =?us-ascii?Q?FrpFTt6bOXn/8hViH8iDCDuT3U8HCmdsYZ3AqxxgS0w/adqHD+sV0S0K9Unp?= =?us-ascii?Q?2/txyYLdU8HHMCl/Fsfle3enYDJtCYhPPsVkTkrwcX6aXbcxW9DX3xIX+qLK?= =?us-ascii?Q?DiKPdF9OR18/SzC8NGWUscb1Q4Y0ybHqumBNvnH2I4iEc8xN+ZLuVcy3N2r+?= =?us-ascii?Q?eziq9hjzgcHnWX7vu7iUsuQzZEoA5JrZl1hG7wLUO5vnKHQbnKY5acnXI5dd?= =?us-ascii?Q?sGlxScas6xWy8V0Qt5H0EWXlmJBCdi3KikB3V81uNZZOvnqHj/yTsz3uJWJo?= =?us-ascii?Q?yBwHxzH7Zsg5EQphHMU361+Q0/fhi7GiZSruGEMlr3qQdYmXB1DMXXvr7HvF?= =?us-ascii?Q?Uh2m2Ca0/fgJr3TkHshKDtmgue5i6S4Ict+l7r+LqjYCs+SFXLwOEiubM7Kr?= =?us-ascii?Q?tSCZ7rkUBqbiaH5bwuScryXeIjS0SvdnAOVFnfworJ0kpn2cvXE5tz46Ux2C?= =?us-ascii?Q?WH6zN7fqL1FBZ5tR8pR6Fi0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?= =?us-ascii?Q?zkQk9Vs/96sTwafpn384BTJnRMDJelcOV54ZzlXrjNjwNc4uB1H6dttg0x8e?= =?us-ascii?Q?qpkuwkrR+YiyJFDfGsPDVU9TIIAEhXjBPgIwlXMuDXr88GZPdwBT3aLt1k9J?= =?us-ascii?Q?x+DCKG40NrlQGCInXv6slOubfDnXozaAd2yDAEb2?= 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: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a835990-0ab5-4b32-9602-08dc95859e81 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2024 02:13:50.2054 (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: zxV75dIheNIMg7x42FtSSnj7CeYv0XBDTocbEqV0xL9stxN8UTIRMVHqzbA74zDvc5xUHxeRL63h5B7LADjKLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5297 X-OriginatorOrg: intel.com 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: Zhichao Zeng > Sent: Friday, June 21, 2024 10:41 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zeng, ZhichaoX ; > Richardson, Bruce ; Wiles, Keith > ; Ciara Power > Subject: [PATCH] telemetry: fix potential connection issue >=20 > For calling memcpy when the source and destination addresses are the same= , > there is a small probability that there will be a copy error issue in som= e > environments, resulting in a failure to connect. >=20 > This patch uses memmove instead of memcpy to avoid this issue. >=20 > Fixes: b80fe1805eee ("telemetry: introduce backward compatibility") > Cc: stable@dpdk.org >=20 > Signed-off-by: Zhichao Zeng > --- Tested-by: Song Jiale