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 2D9C8A0543 for ; Tue, 21 Jun 2022 10:08:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2720D4069C; Tue, 21 Jun 2022 10:08:59 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2071.outbound.protection.outlook.com [40.107.244.71]) by mails.dpdk.org (Postfix) with ESMTP id 832BE4069C for ; Tue, 21 Jun 2022 10:08:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WeFx3Yg5Etmfmj99dYB8WEUCvpOnJCeOp9Z2f1Y9k0XcG5t+ceN2mUa16wFhCu7SZ7WiSQFBh9Z1H+7apNPfMpgkxslH6C5FJORGznyijXB7Tly1nSIo03rqu+pUwOsYXPdxT4PdRxQ3zuiAMibSaG7gIUa7BRpCmdMWJsyaMPhkF1eowU1DU+o7eX2hzJKoBNxrulKjE/y8VX0IX7vpJqw3XgoRhE1DwgupUv58GGhwIhzW9a66msNv23kYNRu2Q7MI9aSNjdW2wR3eM28jur0R+J7qV9wtkdoOtI6mxX+4R4waEsKJul2UMNRHmI3DoFawO2VJys0CRc/mdWSifw== 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=FK3szv6LcYrtB4jAg2eqA4i61vmd4Sh+G2ilSAUc0gU=; b=I5EtBNi7OGVsOws4gs0IjZNEax5gw5UEsGLhrH7E1KTe4v+JU3BBIfG4WL3Ffq94//8fqftNUyYNihCPOl+h9fN8ZKHtMrKmMlCfuttlENp826/hmByi1sM7bqyGPQyudSLY4MvVxFsxLiCmPz0Y7qPPBSLmu/JGC9Lys4Ko+N7dX6kLkCTKX+SaK9YDYxDXJ3BumsLqyQGC7Z7Tqr4DVOGJtG3xEMIljSu8ZYY+TgTofaq0igjJl4/aqoHCCPTZ2PMQr0b3OKYR9X99WHwIjqrxa+pqFhm5s+Kyg8pFNHf2d7gpAcLtSPjYgT9vBCvFzwKCRKmqHBqGZcir7l3XXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FK3szv6LcYrtB4jAg2eqA4i61vmd4Sh+G2ilSAUc0gU=; b=HGGIAQhNH/cJXLpRsPMSf62Qs8r4b8O3OcbkOTq0BDgO2v0B7E5mzBm9TZhIoSDiz9afr0BJC9p1nZtnX9J2seG8r0gbl+xNZpS5mRSjpQzOyFjGhvRHHRuqA/L8wYXUSELahloIIwSAcK9hB/uFFkyrhCRk5otYVuemRAr7Uo83kB04FAncc/rYrbWw9zvGjag/KsO7naPq8i1ijILonDxSlCuj4Ty0wYF7tigzrVNG5RPMwBN8NI3IX8w/uziMEBkDDZd1UnX5mqaig2KKtwIyfiit2eVlKc2pBVO5b9LOfPSsMhXhcLmADbFqO90CkUJcea73RsL9RQjXC1OkwQ== Received: from MWHPR22CA0037.namprd22.prod.outlook.com (2603:10b6:300:69::23) by MN2PR12MB2877.namprd12.prod.outlook.com (2603:10b6:208:ae::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Tue, 21 Jun 2022 08:08:55 +0000 Received: from CO1NAM11FT041.eop-nam11.prod.protection.outlook.com (2603:10b6:300:69:cafe::b5) by MWHPR22CA0037.outlook.office365.com (2603:10b6:300:69::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.22 via Frontend Transport; Tue, 21 Jun 2022 08:08:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.238) by CO1NAM11FT041.mail.protection.outlook.com (10.13.174.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:08:54 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:08:54 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 21 Jun 2022 01:08:52 -0700 From: Xueming Li To: Ciara Power CC: Pablo de Lara , dpdk stable Subject: patch 'test/crypto: fix null check for ZUC authentication' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:02:11 +0300 Message-ID: <20220621080301.2315720-66-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8dfb1357-a379-42f9-994e-08da535d4915 X-MS-TrafficTypeDiagnostic: MN2PR12MB2877: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: mPTTgFGm4kTbgVjFfXPijDTZIXfwTR/DTUTdS1y9Tmy89rneL6H0WUMFJwTyc6phrFCBUgNQqQ8nHyWnoBPG2aKfu4/0Xe7Ah16nGQoK7LW5zkAbZc735WwqKPBWbO5Ygjs5hiTt7EaxJI4HE0NbraA4AFUS1C5CV5O2aNhLDkgb04Hf7PoMD71eZwouVrVT+rR9uD0Wl2frgEgisAuU52ciMSghQxtx14ldG/P0IWn5C+VJGXuxMlc5ZAe9GBI4XlKBmRdQvCTTkYC1fY5ztzC6TNtcZ7sceeB+Tu04oZ0PJLQUsRZDFmOXBkCOTBv2Vk/Ru2TS8/cfvG5OA4mY5O3NhBTrHrpw3+4yWSMlj3jHaJQgMXnRVP6nZbyczbZK0sLhaFl7bmU6gxzOVOvILAv+fRW2dB+jycvAAOMKVsqNZ54F232x16AKxoDhQUC8428YPzEjT/tPZk1DEx3G8skMc0xUnIn1fYRqG4xQ6ya2V8I+9SGfqRiRZNUdNY0QR5HH8VdhNEKYed8kiJR2KDzzrDXlTGueNZJskrooMYebrPTblwT2j3pPCJ8G3vAdKkSuo2XOWF7df1MazytJC4rYctZcfzsDs4Cc6zD2CqH9ybDCbCZXo6Ae1x8hTyDDB6S8FU3GK1uXxjOCs+twBPP+62URWBvqRYDD99mENkls4P2p7NZIFCvPoLgJi81Ne8NSp0seMig0xl4eGfE46WRNmYWGc/kCLQSTjuyn+c0MwiPBl94UTH5XH9T6a0ldMyKEIndpbuhcI7q5BLVWE+XMz7AwurPSOiWG5+Wrjoj5ECkaEehe0qODDMK63L8OAAoa+x1a12+H56hjw8IMTufauWSk0MuiqqV0//itBIQ= X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(136003)(39860400002)(396003)(376002)(346002)(36840700001)(46966006)(40470700004)(2616005)(336012)(7696005)(16526019)(81166007)(82740400003)(186003)(6286002)(426003)(41300700001)(26005)(356005)(8676002)(86362001)(53546011)(1076003)(83380400001)(47076005)(36756003)(2906002)(6666004)(4326008)(40460700003)(70206006)(82310400005)(54906003)(6916009)(8936002)(70586007)(36860700001)(478600001)(966005)(316002)(55016003)(40480700001)(5660300002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:08:54.8312 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8dfb1357-a379-42f9-994e-08da535d4915 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT041.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB2877 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 Hi, FYI, your patch has been queued to stable release 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/387d4b3ca78d650e91c284fb7b213b16fb2577c0 Thanks. Xueming Li --- >From 387d4b3ca78d650e91c284fb7b213b16fb2577c0 Mon Sep 17 00:00:00 2001 From: Ciara Power Date: Wed, 11 May 2022 13:29:24 +0000 Subject: [PATCH] test/crypto: fix null check for ZUC authentication Cc: Xueming Li [ upstream commit e6d37ffa69ac7fb4eec9580af5b005e6c130b79d ] Check if the returned op is NULL because of failure, before using it and causing a segmentation fault. Fixes: 4c99481f49c4 ("app/test: add ZUC") Signed-off-by: Ciara Power Acked-by: Pablo de Lara --- app/test/test_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index ed005da6b0..441193c0f6 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -5749,8 +5749,8 @@ test_zuc_authentication(const struct wireless_test_data *tdata) else ut_params->op = process_crypto_request(ts_params->valid_devs[0], ut_params->op); - ut_params->obuf = ut_params->op->sym->m_src; TEST_ASSERT_NOT_NULL(ut_params->op, "failed to retrieve obuf"); + ut_params->obuf = ut_params->op->sym->m_src; ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) + plaintext_pad_len; -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:52.252574701 +0800 +++ 0065-test-crypto-fix-null-check-for-ZUC-authentication.patch 2022-06-21 15:37:49.091118108 +0800 @@ -1 +1 @@ -From e6d37ffa69ac7fb4eec9580af5b005e6c130b79d Mon Sep 17 00:00:00 2001 +From 387d4b3ca78d650e91c284fb7b213b16fb2577c0 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e6d37ffa69ac7fb4eec9580af5b005e6c130b79d ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index f444144cc6..4ffaadc008 100644 +index ed005da6b0..441193c0f6 100644 @@ -22 +24 @@ -@@ -6238,8 +6238,8 @@ test_zuc_authentication(const struct wireless_test_data *tdata) +@@ -5749,8 +5749,8 @@ test_zuc_authentication(const struct wireless_test_data *tdata)