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 17812A0093; Thu, 10 Mar 2022 10:39:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A8F44113F; Thu, 10 Mar 2022 10:38:59 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id BEFA54113E for ; Thu, 10 Mar 2022 10:38:57 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 22A1e15Z010401; Thu, 10 Mar 2022 01:38:56 -0800 Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2168.outbound.protection.outlook.com [104.47.73.168]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3epugbwgfj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Mar 2022 01:38:56 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J4Qfv3Ec5WM3+UoTMVEfzULj3d6v8Ceid8qB1oAddhsmCSCI+0jeGMttBcn13NrpRltBeJg9eSgnaOjvJt1MoE9aolf+3eswDVIikL6kohUZneG4jxwHys/pjCpq3viFFfSwX3eVsRmw6x2OhKjdPyJ0gHKulNcrrZhWlTQm7rdDS4qGpOhw97afIINIhMz6X65kyGku8SwrMMNTiMmQ7FgFDcXVL/jxl4ycn6Drom+ngM+7jCMunQuF0+tF1VnQM2snZbwsSoVSX64W6yWP1hZbLn8JSxDd/NeIoQiuMSCSDwITnayBO4Ny6aCs/bdNt5zgzlm3Njw0lqkXrfR8tA== 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=vNWR03kaaGLaqyz/g8FNEQYf3rJGSszKKt9bts09aMw=; b=VyssZVi+dRN8CtZV+pjoOS7Uk/+uIfBBTqywjQ7ZntoHX7obGsBeizaqh1g3xhtKgYIeaZG0zu91deJqKZiymj3CI8kb7Af0HjUNyZrlH0wGinUsX1v7lWqCxqcFPh8DJjg0Ls17eeR8g3ugXi149IIoSbNHcGaWOvOCKumnhzQbI2zj5GIydbac7HJwA8X/TBtC7TzP81YnA0c5Uw7qSmu+CYnFER87VCewc0tR1l9zcS1qhyrUhqsar+Sl9nBzzvcDv6gfO7fnwrBOLJdZGUMlXXWum3gqmkXGV6GsRHdg4nfX0nMSNXLK2p5hRnbW2geC0eVt4TkVVSXRQ2+6DA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vNWR03kaaGLaqyz/g8FNEQYf3rJGSszKKt9bts09aMw=; b=fEepoMxLNeHihBiZ55Y2sDUJ1wexi5hFt2Npi1OuB+Whfa4P4Xkn7fMkEvCS3oezJ6wEkcC215BKPHMotnpU7pBDIrsHQhmcoMwpO6n1/qm9+02ZGtJQL033KWFlNH8dV/uLEDv3xMTYXOg6Q1TSW7b3Bo2gJg7qP7g6RFkLsSQ= Received: from CO6PR18MB3844.namprd18.prod.outlook.com (2603:10b6:5:340::7) by SA1PR18MB4551.namprd18.prod.outlook.com (2603:10b6:806:1e2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 09:38:53 +0000 Received: from CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::413a:be4:ae2a:2193]) by CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::413a:be4:ae2a:2193%9]) with mapi id 15.20.5061.022; Thu, 10 Mar 2022 09:38:53 +0000 From: Rahul Bhansali To: Thomas Monjalon CC: "dev@dpdk.org" , "david.marchand@redhat.com" , Conor Walsh Subject: RE: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue Thread-Topic: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue Thread-Index: AQHYBunK2hiyHbi6wUGnDXDzE8GoyKy1r1IAgAF+/YCAAJWUAIAA8QEg Date: Thu, 10 Mar 2022 09:38:53 +0000 Message-ID: References: <20220111125005.554635-1-rbhansali@marvell.com> <4698000.9Mp67QZiUf@thomas> <8029134.GJh79HuArf@thomas> In-Reply-To: <8029134.GJh79HuArf@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c60ed312-ac71-4fe3-24c8-08da0279ca78 x-ms-traffictypediagnostic: SA1PR18MB4551: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: LXQMix7/DxzocwVdg2Xkl2nKM/josgUVV8nsNsyLRhacSxcVVtOpF6vVJXcTeFOjGHDyWOhhy75rlnSuIZBSawp83BthG1vD8hR2SydueQGvPz4LSc2a9czj1zqUIRIbhHs43NEK08eF/MItsaPCmD91ncTvJEu+vpoJU7OYstlZGR/M/lmRvUWpDK8Q095dt/0g4n1IN0bhS5ufSg3nu3XcIEPMPmg90dhKvWhSGKC2jyTwAXPl2xdYDEaEUy+kj//KCRu6Owm3ZyEyNf3UuF4SpmXrl/pQAPlnhpDnIdghuePJ9Q/cFNKvmCMmuWtc9dlyWCaMs83P1HNp9k25fDxnyRCQCj65L5jcrC4HHDHKDzjAhesvoHcuP7qPVDThnzcG2zDzD8WgCZ6MCUMIIJNX28iTAt8lCr+T5BEW97U1DF7PaI39u5ubEju8wW82p2C5rpX+oA9Kv/q0fNQUKgvcpW9L3OqPjoMoFkdBJiviGJ2QWSIko36ZSNDvrWw/rJ+7Gpe1Glwws7gQ5whQeQ1oyGsT/4hH0qvlYxDpkN/umSjAOgy6v9sp324drUwNM9Keu+47GhSMCmrtVBiCNGFnn4SNu9QvDLqT0OPtleATAdGKGH6lzV7aF/lk+etWSJVCs1+/wZzW2v+aShnHkCZ2A+p3PFJG/kKZ4e2T5P48xZC9eyDNJz5btNlHWHpPCPolzC7+IUYZfgdXu6gRAZfsqGMbc/M6mMuXTmRgYezI2KA1/JPtiHPGvHlF7mzieQDRVbMUNPfIEr0p6VxYj1fW48DhNGloK6Khmajqs/EX8p2l9RLU9qF84WWuX66UiNjSJs0I1EOVD1CXRyPpSA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3844.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(33656002)(55016003)(8936002)(8676002)(83380400001)(38070700005)(6506007)(7696005)(508600001)(6916009)(316002)(9686003)(71200400001)(52536014)(5660300002)(54906003)(53546011)(38100700002)(186003)(86362001)(26005)(2906002)(966005)(66946007)(19627235002)(66476007)(66446008)(66556008)(64756008)(76116006)(122000001)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QytHWGpBbVh6M3ZxMzJsRVBhK0taZUNWU0NiVEprUHc4QUM1NXExbXVqcEx6?= =?utf-8?B?RitheWpBY1NNUDZ1akZ5TkxEN2RSQWhLbHY2bFRnbEczSkt2T0RqQkhoR1hr?= =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EhUVklRMDcycnhTZHVYdmlKbDJhdnIzbzJzTFZh?= =?utf-8?Q?bK4ulbFmyYXWrBjqvVJU6TMYLFn7huqa?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3844.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c60ed312-ac71-4fe3-24c8-08da0279ca78 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 09:38:53.6891 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cwHLzq+F+jtlF5Gx2Y1mE1JSy7sEGlhM5FeuwBWr3/4YJTFlFGH2aNVa1ApevIIcahUd0/PL7H52hNWnBXcCrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR18MB4551 X-Proofpoint-ORIG-GUID: ecREcdjNBjiVfDbV6-phWJzfZsLDAxXd X-Proofpoint-GUID: ecREcdjNBjiVfDbV6-phWJzfZsLDAxXd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-10_03,2022-03-09_01,2022-02-23_01 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGhvbWFzIE1vbmphbG9u IDx0aG9tYXNAbW9uamFsb24ubmV0Pg0KPiBTZW50OiBUaHVyc2RheSwgTWFyY2ggMTAsIDIwM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