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 1F22BA0542 for ; Tue, 14 Jun 2022 17:50:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1377C40DDD; Tue, 14 Jun 2022 17:50:02 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id E86E94280E for ; Tue, 14 Jun 2022 17:49:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655221800; x=1686757800; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=rjtMqyVXUq4x9u1mw0LfrwANezh8XJNSgx8Hxis7ThA=; b=B/rmYaGeHsUnmNoBzdSCZw+a4qzaB99fw8lE/H/UoOmlX4/KzbUuTmSe NwJu2Y7ljzUwWMHt10ooTIpaBOBE3nLeDRVtrZWnkbYlzNzMYpCFDw378 Ij3SPM/mpHlNtI85UfLvfZ6eRmJsuIIsVcS2GgG9KyUC8XUQaZBHAe9o1 Lu4epj2tQuEtgP2KUBvUPew9z0RVw3JuNihOnA1wehUrFpqJkRlzqyXbr bs5d+jdw/xpqEJMgWg33nZnbo5xupYZdrCLp0/UqNYwfY47gLC0TyMTCw 3sdZh0lxVsb0VhkGfn+ArwVTALmuxxOA3VW33fQPI2KkUtcR8O+Ga3bLb g==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="259111638" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="259111638" 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:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="640443395" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga008.fm.intel.com with ESMTP; 14 Jun 2022 08:49:58 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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 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; 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:57 -0700 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?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jwCJZ6lcrUyNdDDFFHk2y2eKBEtPQmxQRkYsYIZzdfHT7a3YZLTzmpPsDGrhvpygkfDYahCgCPwb4sbh0VcLPnfAuWvl5NhodD3q+fOce5NRIXpGN21DNNKQGVU2lo43uPjceOMrXjT6U4NEL16ghuEOpT+9dU0kRBv8Pa8D7g1e96UvYsoJ22+G9LtlycZhDz/EpAE/Kgcg7A+CjPTSMq62iBaSq42nhYjg0G/4YMDzq3bvZPJjCDNgje6roDJm0Az/ois/H+vkeKBFYf3bl0mWe4lySos4R9mNtBm7f/LaEwpKuODtHrjxkey09aQtFZI9nUSk7pF8WHLbWfJ2wQ== 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=j35r3Mf4eC6ZVl1S3z9lIoC2HSVjxKtvPta0kwRRvDE=; b=oLEXknDznRUcTsY3xj5H+L8Pvvx5yqLwti705rLorfwwsbhVpOeSZ1UTh9ND/c/HZDSS4D6zxmBcVGyc09cNqZ6tUajxWCKkYxalA8NFw7OT4LYNZVwX1c50e23Pb1AkbpiOR5Ghsamjzc+FAnjFWkMUagC6Ntq0k4yde6ftQ/TctHXNcLdziwT7UN+zMjk0xJ3bexPcKKCEIQwKV0/w3P/lEWexfadmLoZp0BSp0TTMYDSDSU24g9r89djODQoMtoWB4cXCeQJm87lvNdPEmWdB06dvhfPVMshMD6rZlXfXJwKP3o1hFUqe29KBHgtc8JrNjhxoQayVdXvpexXTrw== 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: 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 Content-Type: text/plain; charset="Windows-1252" 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: 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 > > Fix the UDP header fields, wrong byte order used for src and dst port > and wrong offset used when updating UDP datagram length. > > Fixes: 01eef5907fc3 ("ipsec: support NAT-T") > Cc: stable@dpdk.org > > Signed-off-by: Radu Nicolau > --- Acked-by: Fan Zhang