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 49069A0542; Tue, 14 Jun 2022 17:50:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A91142820; Tue, 14 Jun 2022 17:50:03 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 344F540DDD for ; Tue, 14 Jun 2022 17:50:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655221801; x=1686757801; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=VRzANQaNJVN6w7XkH9A9haY0bLEYLliIAPzp71T/IOA=; b=d5JJixbJU9x9/2x09nMwtJySi8giBuIHYzIC81V6Zk5aAkVFc9kidcfC bS+fZxzzgCYwr+RQBDMZIIGujeYAXhOvMWNn06cuxMwQMvFERZlGFz5MG AE+3eFJ2mGIrglkKAhs80kgXBE64pnYkaw3ZLadB5wKmbXL21Nl/Jxx4D p1u3yJ1EzLTlx1t6zCI2iFmiy4HzTyimGc92DTdnCOyN9yrpLsDgx3G7F Vci5wkfUgUenvCZ7eHLvM7ude4R6NtFyZiw23572DpK0s4t5iI04Rion8 03DeHmekB6Pn9f8rb9hyC3NlUjQd1FvjTqC08PgAP/CPu+UFMQ3F4c1K3 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="259111643" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="259111643" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 08:49:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="640443404" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga008.fm.intel.com with ESMTP; 14 Jun 2022 08:49:59 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2308.27; Tue, 14 Jun 2022 08:49:58 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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; Tue, 14 Jun 2022 08:49:58 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.46) 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.2308.27; Tue, 14 Jun 2022 08:49:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iSpbMXcQKf7xT3uh8cJFttWm91Tfk0ZH0lKyROOM1BMIGrRu/WVOQgeDULovGhAjLfnwRkmLWuEgER87H+VY7pwG5NfmGVD5rOC6SRPYBe10EaRew2v6UA6un2t3UVLJK8QAIaIkx2Cb898XM2e60zqPRuN2qZRESyljX+YsyVw9mcSeDG9QStwvX2MXIzPHPK4yW+EfF4n67AmJKpiokaQUAapXsNUHzT8dYUfkj+xjlk/NmAmid62qrGI+gthPyAdDZ1uX14JRxMf5omBMcTzcWpUHQ+pHNK2QaPp++2JmyZsEaKhxHS+I+JE6gnmN8t2g4dtu5qQikdjZsQpFaA== 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=VRzANQaNJVN6w7XkH9A9haY0bLEYLliIAPzp71T/IOA=; b=K0oSgD8rKX1KJP5jf7WoThFHIe7OaDlPQVy8FRAjQAeK6FuuN+ibOL9sNU8hhEtsa0lfAS2AeD5+Jz/BPTgn+BgbYlvPeOPKWww0YcOFZrXlYTZut7qBolAOfNUeCYwVSiaj2roGywLtFsUmG9gb7wSIC2MIUBM27eJgNKTlax6uyeuGUAHUUFTGh9tOfu+6M/LkR2xLi5BAo7tp417I7eStMR2cte8m25MuknoNhVP0/GV/TB0X1U6CKR/a7R1Y9eOtODMEOSaYDgIbwU4Z5KXp48csLd9JA2ML5kPtQp/Z+Wr8AmFpigI4SdakEYCVSs01UENmo+F9QbyMJNQLgg== 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 MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by SJ0PR11MB5022.namprd11.prod.outlook.com (2603:10b6:a03:2d7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Tue, 14 Jun 2022 15:49:55 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6537:6de6:7337:1b87]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6537:6de6:7337:1b87%6]) with mapi id 15.20.5332.017; Tue, 14 Jun 2022 15:49:55 +0000 From: "Zhang, Roy Fan" To: "Nicolau, Radu" , Konstantin Ananyev , "Iremonger, Bernard" , "Medvedkin, Vladimir" CC: "dev@dpdk.org" , "Buckley, Daniel M" , "Zhang, Qi Z" , "Nicolau, Radu" , "stable@dpdk.org" Subject: RE: [PATCH 1/3] ipsec: fix NAT-T ports and length Thread-Topic: [PATCH 1/3] ipsec: fix NAT-T ports and length Thread-Index: AQHYcD+xbQ8vOyV7RkWqFpHwKh6pZa1PLD0g Date: Tue, 14 Jun 2022 15:49:54 +0000 Message-ID: References: <20220525135912.181765-1-radu.nicolau@intel.com> In-Reply-To: <20220525135912.181765-1-radu.nicolau@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action 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: b570338f-9e54-4f89-edda-08da4e1d86de x-ms-traffictypediagnostic: SJ0PR11MB5022: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: 0aL49IwQPp6Pl9j0r/qnqRn7meZ6PPyEVZAwBgXco6nR7dpbSSkn6pAIial5cWBJf/9N0jpuA92j1BxJzXnlsMsBhJJOw9hx0i44INB7g0pJGeOxFiWGcrnikRPnpQVikTr5+hVtsXah6HnyHOkJ8kz5QIgY77oOuPdcj8OtT3SPGDsfOxQSzTpC3KnI1OBz3ZEoiHfK1AkzwS/VCvnqYQusNSqQnJIB3682pmbmpRERVB4C9yYaozLDmZBCcGcbW5SXnRIudTvQbSx2gt03+rHIklLEPh1XjULKveidFJbwNOc4VoadkX4vbw9D2EcVSOOM+dJ3tCei6f4rOolonrqtGKwukG2LoozyTwLCDpC1f1fM4MhOMJjiZ2uPxiZ3gRRXgzNYksITrsOewOWWvGkGQuZ5+CkijlSdtHenNIFclvTHKJfT2CiIun7X+jGZfnkAhYFk3zd+aJHoX2/y0/sqDcIuVsF/mbXMrwyyzskGWKi6WLQUpOVNmHiT+G1CffGM2TlMVBRsYRcANxcpDHTtV+ej0Sp/xlw4l6ml7FUC4rcgfNBHwzzzL+sKW9mvaavS6Hhaaeehf9I8HTOmTl6dwciPRQBos0eFPvFo1kz8WWLBUZ3lCSEBZhaD+KHwajAR/ooUmUN9vknZrZ71ypj658FPEeRpiP4vc3aZwkhQkM9/DyZ3WXs6Go4uMm64Qbx4TNSp+aJfT++gSBojxg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(55016003)(7696005)(5660300002)(83380400001)(71200400001)(38100700002)(26005)(6506007)(38070700005)(86362001)(53546011)(66446008)(66476007)(64756008)(8936002)(508600001)(76116006)(52536014)(4326008)(8676002)(66946007)(66556008)(82960400001)(2906002)(33656002)(4744005)(316002)(6636002)(9686003)(122000001)(110136005)(54906003)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?PpHS4WZ3l7lp4XHG312270h6KRFLPNS5sX5u/Gex+8ayCpKrVHE5/mgw?= =?Windows-1252?Q?4McC4Y8WvHUWvBgnc94zchIrCVFZN4jPcQuRvsdUkPvkXMeHvaoaUE6M?= =?Windows-1252?Q?B7MeFntFUbY70Bt3DZW5W2SRYD6NpA6KLimi26nkTLLL9Z+8VQGf9awE?= =?Windows-1252?Q?u7p+Rahvz3lYTKb3YBVytYcWHI1OCPy2wP5z04FJefeaCcluxRQajd6T?= =?Windows-1252?Q?y5aKYPbdeTciM/bIWOgkD1ryNgoDgzGwZhTatPNrF0PvX94aFBg4MfEs?= =?Windows-1252?Q?AWIvutkVI5hG9sL3fBJ0NBf4I2/I1DhiDxjyOXHBdQo+eUbuo7BCSZnb?= =?Windows-1252?Q?5gSgMUr/EX8mxEKOvCNyY2vlmemYgpAMnkqqZnXPWTl5ddUOjyG++XMK?= =?Windows-1252?Q?WHgLqm6YuaEVLKvgjqX0/SHhHyeJV4vwsQiCz6ljqZ++qM9eH5w38YYu?= =?Windows-1252?Q?WKWLcRz478qZHLhr8kAF7LhdQF+/I97ibh5rrwx3wTs/hnCSVFfAbvIu?= =?Windows-1252?Q?U3lmbmKwFmQm33E4RDBIm+RC8VoSQlidncRMAwru/qkG3BsyVmXdkYgQ?= =?Windows-1252?Q?IOQON7LD82sdy6ofAhglFzZv3bFR1LpR9dktbSyjtEGtDd16CUBw/kn/?= =?Windows-1252?Q?NYirAxM+JLkCzXcX338iOjcQ9YGcb+dkOBH7oX3n9M2mxVhciUcim1a6?= =?Windows-1252?Q?CYMhrSjpPX5pMKUu8kwtnKA8+LAwAng5Z/YTAjKXyOhPMLq0NTSloMgh?= =?Windows-1252?Q?o/DHtox3oBx6IbTao1ySKKCRXacniBL5wmCgogxPZFVjTUPS1G8lOYdw?= =?Windows-1252?Q?4b9J8Bq+FwQCIIiIj2j0uqmcJpufbdr/NQq9cpscS1j4QVvHuF0reWUc?= =?Windows-1252?Q?Fb1GrEQ8e5HV2TpkLz+GZPXQyLU4w29tAT5aHGjhTejfTnZqYSLVUK5n?= =?Windows-1252?Q?zHeBN3OhIeHnOv3dLkGL4LSJZ7G+TH2mw2NR7jFJ8xvase/yK9GJYxYm?= =?Windows-1252?Q?eRN9DRjUjqa+wHVkzR6sF4YujD8oPMFO77VgWx3PdxEqKnvu9wLVLe8j?= =?Windows-1252?Q?bRwgWjYNdYH4cuz4bVvAMpihe0WJYQmnEsnx91w3Ohx2YlZNnlW6K1iA?= =?Windows-1252?Q?vGGNQ054xgKCc7Sd1f5MCHgbXW/USirkIB4fBtS2LZhxNh5Q54oKKv9D?= =?Windows-1252?Q?vQqCwKocnX3S+p/UODez/ag9KMx1EDeuqFKTdR51EUU0cVrBk1gKhCNi?= =?Windows-1252?Q?NXEz9a7bDVrjpwkXHHj8lc4P7KGfKHELxOogc7wrvTP2VTW0ndIG0PWk?= =?Windows-1252?Q?0PHbl55AaaHJ9SJG7/GOO6RVmb45GrJRZv6uYdc0sqhoqp+4aieopwUB?= =?Windows-1252?Q?YFFUgRvjcRri0GOqvmkSIZt0TpDfxEbLr3w3l9lOBeZ1uXDw0vdKF3f4?= =?Windows-1252?Q?mzuj4bTMcx1tD7KuqQH843ZgasKtVI96VPWrsDG57nwc7VIWBk3uSS+F?= =?Windows-1252?Q?3Q6aVJXlW/3x9hMjD0Y3+u2OAg5Xown/1y9AC3rL5aEbcsRe9zKag2pi?= =?Windows-1252?Q?utRWUONAfYWSRlQztB5YwJY+yhXFuW+/1uB3cvAIsTuNeriRO8r7I0/j?= =?Windows-1252?Q?gJxO6xNDcsAY2iFlNjtah2CatYy4VVfL/2HiwCbnogF67sKS1s2g0sYH?= =?Windows-1252?Q?Xc84AVy+H7UF5IJypiiJJPMMbAUUEbcRWstRZjAl1mqoVRfFwAfoWysK?= =?Windows-1252?Q?MMGrZWRSghjtryV2Zk2OMO4EdiuFh/9B61J7GFiHfQrBalzVYVfVLf1i?= =?Windows-1252?Q?w2lGdz8MslPwmU4PK7Zi+/Msws4pZMYFatw007CY9aWjt8EdZOf3JUZ/?= =?Windows-1252?Q?Qmx+y3Es52OTDg=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b570338f-9e54-4f89-edda-08da4e1d86de X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2022 15:49:54.9652 (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: q3EsAH4uJ7ApSt1YHHP3y7slTetBr2lFmWAjYFcfBBTdiuFxkufaB4C+r9ePFtR0B73UMvJc2YN9HeDMGIRsCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5022 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: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Konstantin Ananyev ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, = Qi > Z ; Nicolau, Radu ; > stable@dpdk.org > Subject: [PATCH 1/3] ipsec: fix NAT-T ports and length >=20 > Fix the UDP header fields, wrong byte order used for src and dst port > and wrong offset used when updating UDP datagram length. >=20 > Fixes: 01eef5907fc3 ("ipsec: support NAT-T") > Cc: stable@dpdk.org >=20 > Signed-off-by: Radu Nicolau > --- Acked-by: Fan Zhang