From patchwork Tue Nov 25 10:51:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Badicioiu X-Patchwork-Id: 41460 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3FEE925E18 for ; Tue, 25 Nov 2014 10:55:19 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf402223wiw.4 for ; Tue, 25 Nov 2014 02:55:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=kKeWrxthitum+cIDVIMK6W3J21l4EZUX457W4b1s9xU=; b=RnBnlxH94ynNG+2aPA6YZ1nW0pia162box6O+XHyHXjzwUyO4MwRepGsgMRpM/CP2G 8i/tt8018XtOH+BqrRk94pEZbSc8+KvtsD2i9n6rMuq/Lim4up9BRHwji03+dseZmi9g b9J4d+JbzdaueZhtY6LSBfgJBmPU5Cpzgmo1qw7MTDNyWW2naKfVdyGtIwNz/5XEAvyT ZcC7p6sh9TpHlAQm32MNu6R5/hy/WGhkV1xsXlVI+e9+1tuVjg1gcAK9moZDlwMpQgMb 5ZjuAF2b9lQ5mSAXBJOfLHbDo4zRqz3P1fkNpKR+oTyYthhnI+GzBWEDRDzAT3x0XZwO PHUw== X-Gm-Message-State: ALoCoQkIQSr5Y/Rmm/Pj56QVz78LdqBtevzMyex6sQ8uFFFESdOldxXdx4tmTjioHo5Ljm+8sY7h X-Received: by 10.180.89.211 with SMTP id bq19mr138050wib.4.1416912918493; Tue, 25 Nov 2014 02:55:18 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.229 with SMTP id p5ls567963laf.4.gmail; Tue, 25 Nov 2014 02:55:18 -0800 (PST) X-Received: by 10.152.29.6 with SMTP id f6mr25677288lah.50.1416912918229; Tue, 25 Nov 2014 02:55:18 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id h7si915226lae.93.2014.11.25.02.55.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 02:55:18 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id 10so271949lbg.36 for ; Tue, 25 Nov 2014 02:55:18 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr25089309lbc.23.1416912918136; Tue, 25 Nov 2014 02:55:18 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp412827lbc; Tue, 25 Nov 2014 02:55:17 -0800 (PST) X-Received: by 10.140.97.37 with SMTP id l34mr36553450qge.43.1416912916712; Tue, 25 Nov 2014 02:55:16 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id t8si874735qge.9.2014.11.25.02.55.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Nov 2014 02:55:16 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtDm5-0005WW-KW; Tue, 25 Nov 2014 10:55:13 +0000 Received: from mail-bn1on0098.outbound.protection.outlook.com ([157.56.110.98] helo=na01-bn1-obe.outbound.protection.outlook.com) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtDlz-0005Vi-3u for lng-odp@lists.linaro.org; Tue, 25 Nov 2014 10:55:07 +0000 Received: from BN3PR0301CA0065.namprd03.prod.outlook.com (25.160.152.161) by BL2PR03MB1012.namprd03.prod.outlook.com (10.141.182.150) with Microsoft SMTP Server (TLS) id 15.1.11.14; Tue, 25 Nov 2014 10:54:59 +0000 Received: from BY2FFO11FD032.protection.gbl (2a01:111:f400:7c0c::178) by BN3PR0301CA0065.outlook.office365.com (2a01:111:e400:401e::33) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Tue, 25 Nov 2014 10:54:59 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD032.mail.protection.outlook.com (10.1.14.210) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Tue, 25 Nov 2014 10:54:59 +0000 Received: from fsr-fed1364-15.ea.freescale.net (fsr-fed1364-15.ea.freescale.net [10.171.81.144]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id sAPAsv76009224; Tue, 25 Nov 2014 03:54:57 -0700 From: To: Date: Tue, 25 Nov 2014 12:51:24 +0200 Message-ID: <1416912684-30664-1-git-send-email-alexandru.badicioiu@linaro.org> X-Mailer: git-send-email 1.7.3.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 130613864995983943; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(448002)(189002)(199003)(104016003)(81156004)(64706001)(47776003)(44976005)(19580405001)(104166001)(86362001)(36756003)(86152002)(69596002)(87286001)(92726001)(31966008)(50466002)(15975445006)(20776003)(110136001)(87936001)(107046002)(62966003)(229853001)(46102003)(106466001)(92566001)(77156002)(21056001)(84676001)(93916002)(99396003)(50986999)(68736004)(89996001)(95666004)(120916001)(97736003)(19580395003)(50226001)(85326001)(2351001)(48376002)(33646002)(4396001)(6806004)(102836001)(88136002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB1012; H:az84smr01.freescale.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB1012; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB1012; X-Forefront-PRVS: 040655413E Received-SPF: PermError (protection.outlook.com: domain of linaro.org used an invalid SPF mechanism) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(400003)(401002)(402001); SRVR:BL2PR03MB1012; X-Topics: crypto patch Subject: [lng-odp] [PATCH] odp_ipsec: fix odp_crypto_get_operation_compl_status arg order X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alexandru.badicioiu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Alexandru Badicioiu This fixes https://bugs.linaro.org/show_bug.cgi?id=714. Signed-off-by: Alexandru Badicioiu --- example/ipsec/odp_ipsec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index ec115fc..fb06baf 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -1003,7 +1003,7 @@ pkt_disposition_e do_ipsec_out_finish(odp_packet_t pkt, /* Check crypto result */ event = odp_packet_to_buffer(pkt); - odp_crypto_get_operation_compl_status(event, &cipher_rc, &auth_rc); + odp_crypto_get_operation_compl_status(event, &auth_rc, &cipher_rc); if (!is_crypto_compl_status_ok(&cipher_rc)) return PKT_DROP; if (!is_crypto_compl_status_ok(&auth_rc))