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 18A8C4410F for ; Thu, 30 May 2024 10:13:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F99640A75; Thu, 30 May 2024 10:13:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C8A0540041; Thu, 30 May 2024 10:13:55 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44U1v0IP025186; Thu, 30 May 2024 01:13:53 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3yeg7ws15x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 May 2024 01:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RPoUzdpQDOLiOVwbHgMOwsfL4moxJURGvqMtAHpg3UDt4qZVHmtZl/t4/myz2ZHv6XobkGgf4Wh5zcKBYqsEkbO/A5kE7YpUVBtTZt3Ucgvz5uhU8a9n5k34qpHfvCs80T/VbqXo+RE74Rj1R5z2KJgn0TvkUF7DCwXFhGnLYGvTUeJTtmKAhPLxg2J8fWACRGIunohn7ztKkc1w9r3cd5tElnzef9YTb3YHJrxCCtTH70PB/Ys7btZgoFaKIATVvf1ZtJZdXqUfpTHNTE5QZe8pLD888J7To80p4RascsHkFjnf/q7t4CwcpiaKRCGKNoQxCshZ8IfVm1EVLwZrew== 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=AyUC640D+zKbdolVd0K7+FbCmnABjVnTzCTK1kB4gJM=; b=BHv4jsGtihZr7/uGzZzGzOOrxg3I0Lxo7tp8ERUYkf2fN5VPRx7rzCMt5RHKYLELqd/1tpxQ5U0YKLafOaBD4mCr0DgOLkfxhBJIxeIQ30+SK71Zjv9O36rMb1D5/57v13oWy/FXOazUwNqCzrZ6sy6EzOg4G61Ji+AVk8ZtUNasQLrejLDDSJmG9WhxlJy9G6wO173bFF/Str8u1W2TI+xgFgHgrBSobvNViTFY5NpyqECZDOUA/1hN7hArXA1FALDNZxi91kn/iJFtFkt0AVpfOBr23o3BYyZObmXWGhgHHTjtGdLCnyX01zRcFYEiS/ICNWC6k79m88wKkOV44A== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AyUC640D+zKbdolVd0K7+FbCmnABjVnTzCTK1kB4gJM=; b=j7zYLX3LHOUXGalNZTwv7BewTV9z9N7h7B2rWnINH/jkXWsWwpThp0FEqJx7ReEewIdJTsGYNJpxHDkFh7iWedcNt0WYmOmlsRPR4dJ6urchJ+MpQwPHsCdphnnhrRezJiy0dXYtRlrsg9ciNAm7NNx8my0G3E/wndEdrxyx1Lo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM4PR18MB5097.namprd18.prod.outlook.com (2603:10b6:8:50::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 08:13:51 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d%4]) with mapi id 15.20.7633.018; Thu, 30 May 2024 08:13:51 +0000 From: Akhil Goyal To: Ganapati Kundapura , "dev@dpdk.org" , "abhinandan.gujjar@intel.com" , "ferruh.yigit@amd.com" , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "fanzhang.oss@gmail.com" , "ciara.power@intel.com" CC: "stable@dpdk.org" Subject: RE: [EXTERNAL] [PATCH v2 2/2] crypto: validate crypto callbacks from next node Thread-Topic: [EXTERNAL] [PATCH v2 2/2] crypto: validate crypto callbacks from next node Thread-Index: AQHasdYpDeZveKoAzE247IcLEp9yrLGvbr/g Date: Thu, 30 May 2024 08:13:51 +0000 Message-ID: References: <20240416081222.3002268-1-ganapati.kundapura@intel.com> <20240529144025.4089318-1-ganapati.kundapura@intel.com> <20240529144025.4089318-2-ganapati.kundapura@intel.com> In-Reply-To: <20240529144025.4089318-2-ganapati.kundapura@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|DM4PR18MB5097:EE_ x-ms-office365-filtering-correlation-id: 95592691-a8b8-4f5b-2175-08dc808070ca x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|1800799015|376005|366007|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?2SwDJjDCyiKjEv/7zKbZkB7kAc+Ki6HfCibkOQe9jOcs9epegZUnezvXc2zU?= =?us-ascii?Q?MXawmWQKQYd4BtlsF3l99sdhTvYXReht99gSW06+hkup5jWshN5v2Fifvz3O?= =?us-ascii?Q?jdbWwMO6BEIbXUsJvWtw71ZHR8BP5GvVdAf00m+WLSjd00fTIUm1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e+MscchSftZxtR2JI/EnARDMIEUKIzuIMlRQD?= =?us-ascii?Q?PjzbjRn5aE2Rdqclm+IX91xG7S8mKwmKvebsi9wt4Fbkq0eAGNTULk8gWHcr?= =?us-ascii?Q?6idYFn51gnD0iOb6NGshAhdPQzfX14I/wr84st6YbBOaGMfSwp7mYf2AD9Jf?= =?us-ascii?Q?Qy1eOhE2crQQOA5eq29eqZR7CadAjJ9gqD/Mfbsm0t0T2UJ3LllXmf+qunSm?= =?us-ascii?Q?EyUlLU+O8VfiwCMTFicKygqsXWAeTGd2yEZp9hV93o+70jCt12sixeIJ8Wv5?= =?us-ascii?Q?HpnXG0j9n3qXiHBkXgb77ycCtZ8PCoLh/Sg/YPxFwomWJQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?t53N54Mk8lL+FO0EQhzlAysokmsxtib1eDwycwATCfmUn2oY9cBiFtKOibGo?= =?us-ascii?Q?Pd/N5cAe3u0k74SJ5sq7SKMhfhSn68oq4Yg9BhHcs0fRec6vonuEcd+WRlL7?= =?us-ascii?Q?ldFpPFhXu5Ea6N1VBdDCLNDrJ1sNbyktrSukUJJjMgDGACGnw6Gc5ITMH1ym?= =?us-ascii?Q?dXGu4PMZKjvEeO93IBqC46EgllrpCPgy4KZn8AeGJH1IOzq5vQPDwB4woZkW?= =?us-ascii?Q?j17S8Nqgrq7kljTJ/axa9t/NDKZ/ZV67tcz0I5HSjloxEfgBqu+lt0G6Guh7?= =?us-ascii?Q?quVw5rlKSileVz250odTknZccsJ8ABs07/XSKiHcLJ05QxHh/SZHN7FlV57G?= =?us-ascii?Q?gaFZaxd5BtDHgQKzn4bnV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ascii?Q?1eVdZ9pscWoajSsBguNVvQLXSYQC5cvQih5N/FI9zcD7nS83xnkxNKXobYTz?= =?us-ascii?Q?g2BOnX8nVCL/tXW0bEXzmEz6WPn/0KMrezAO1/1E41CPsIjD8xrapQ61xiSr?= =?us-ascii?Q?bYtS99dgymACE1xsHLmJpFiQdLuv6iLqb+OMc9u5vtDiYE78bMAvNj2qOoqM?= =?us-ascii?Q?STF9dYOskcLhwOvdbZmRzL3GWNu4BENM70l1rE9rWXvBNEgl/BhS3wPHHqKa?= =?us-ascii?Q?tnXM0c7OFEPPSZpfCaDl5S9kQNdwKDX09oF203hT7jQZDFnI2WwBqcYSvCR7?= =?us-ascii?Q?+zukjUmborY8WRO660EBT+p0h5cy1yFNnS58o34W?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95592691-a8b8-4f5b-2175-08dc808070ca X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2024 08:13:51.6208 (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: 3GfqlKqOfYd9eeSnc8wH/GJFWOSKZFrrzQbhCmPckkfQ+CQIOGBpvQZ7QerW/CBjTGqkW+tdANu+M+N7YIPURw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR18MB5097 X-Proofpoint-GUID: nQfgsCywXDxvZ5GJvv-5i0n5joqQZ2OU X-Proofpoint-ORIG-GUID: nQfgsCywXDxvZ5GJvv-5i0n5joqQZ2OU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-30_05,2024-05-28_01,2024-05-17_01 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 > Crypto callbacks are invoked on checking from head node > which is always valid pointer. >=20 > This patch checks next node from the head node if callbacks > registered before invoking callbacks. >=20 > Fixes: 1c3ffb95595e ("cryptodev: add enqueue and dequeue callbacks") >=20 > Signed-off-by: Ganapati Kundapura > --- Acked-by: Akhil Goyal Cc: stable@dpdk.org