Message ID | 1511352009-8608-10-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp29210edl; Wed, 22 Nov 2017 04:20:10 -0800 (PST) X-Google-Smtp-Source: AGs4zMbu6oPvnGrb262LAYW7LYkgqYKFUdluTwPESVt50zfd8Dx12gJ4sbCijon18NqlHXb8Amw6 X-Received: by 10.237.36.114 with SMTP id s47mr31778397qtc.144.1511353209940; Wed, 22 Nov 2017 04:20:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511353209; cv=none; d=google.com; s=arc-20160816; b=hp5SRhCRgoQE6ZKl4Wb+hVB1qbCE0zcfiB4TkrXbbyVmf4PqTRpBvAi7fDJYiuPRdY 2Ea8KFM7uy/I4x4e4VyseIhFcwHuC/HNCRFlo4GsRic9BWmTwmXRkJXMrfP3xR7k4Wuc l+u0YOIdt5uyUoU1PKLB9LLL2Loea7/UnA3Zov3Y/XqQnq8JwtYOB+CogWvvQqBtSUYc fp7dA4hcVezGPQWvQ/rbaHRhjtrjPd1sJa1BPv8A1oqqLUkJKD3NGgU1U5ZZqBQGq57s zQU7Y+mN9GTB4PoeMIGgEOT/HS4C7yrOYylOlmBVeo4hLUHgqAx1lxY7GqxyW49ar5x2 WAmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=TdxL3AqFq3k19t0G0Ap79+C0/WwQH8Mdzp8mYI4NrYs=; b=WhcXJAt/JlOyEJr9+fGXqhFS/xCEl6p6V7e6sTvCiDco8CVau/tINQzYqxaXV4FUBf bi4V0KwbHpnHkmndjbhkRm54pMBflGSq701V0fm8yOF/UO6hCt/yZfZddrxX87Ez4bj1 cm+A1tpAHAhVnNR2UgQFfOpG/8//10xL2LoY2a3TbMxn+Hkz4RoAjAymQx+79/ohLY9B bvnJfTQ8D7tjpicyEokP8qmjSIK+i2+73xHXxiAhtUXp6NCSsdOy+NnArUl3Pcl++ZgG Xboh7/+LWWdLl92PRAImuOrrgVYrLkqXRRszQJ8dRYCdQ4KsRpyGP0cNPTMss9f6HQPU RVew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u123si1298862qkh.450.2017.11.22.04.20.09; Wed, 22 Nov 2017 04:20:09 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 79DF96092D; Wed, 22 Nov 2017 12:20:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2543760843; Wed, 22 Nov 2017 12:03:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 11B916094C; Wed, 22 Nov 2017 12:03:24 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 5E26F6069D for <lng-odp@lists.linaro.org>; Wed, 22 Nov 2017 12:00:22 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward106p.mail.yandex.net (Yandex) with ESMTP id A7C852D85976 for <lng-odp@lists.linaro.org>; Wed, 22 Nov 2017 15:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZrVYyjFIzH-0JeeYCNM; Wed, 22 Nov 2017 15:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zD8DI4EGCa-0Jxm7L51; Wed, 22 Nov 2017 15:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot <odpbot@yandex.ru> To: lng-odp@lists.linaro.org Date: Wed, 22 Nov 2017 15:00:09 +0300 Message-Id: <1511352009-8608-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511352009-8608-1-git-send-email-odpbot@yandex.ru> References: <1511352009-8608-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 304 Subject: [lng-odp] [PATCH API-NEXT v7 9/9] fixup! linux-gen: ipsec: implement IPv6 protocol support X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
[API-NEXT,v7,1/9] validation: ipsec: add ipv4 name parts
|
expand
|
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index 67a588bac..63c2b0c72 100644 --- a/platform/linux-generic/odp_ipsec.c +++ b/platform/linux-generic/odp_ipsec.c @@ -732,6 +732,9 @@ static ipsec_sa_t *ipsec_in_single(odp_packet_t pkt, _ODP_IPV6HDR_LEN); else ipv6hdr->hop_limit -= ipsec_sa->dec_ttl; + } else { + status->error.proto = 1; + goto err; } pkt_hdr = odp_packet_hdr(pkt);