Message ID | 1526608674-12702-21-git-send-email-gvrose8192@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QNsVmd5h"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40nBRP0Gllz9s19 for <incoming@patchwork.ozlabs.org>; Fri, 18 May 2018 12:08:32 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 2E6091102; Fri, 18 May 2018 01:58:54 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 34A58F14 for <dev@openvswitch.org>; Fri, 18 May 2018 01:58:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id F08B56DB for <dev@openvswitch.org>; Fri, 18 May 2018 01:58:44 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id w4-v6so2605421pgq.8 for <dev@openvswitch.org>; Thu, 17 May 2018 18:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+K8Uz9GTAqOj4X8qwVF/G8F4McIsqoE82ebcV+AyN0E=; b=QNsVmd5htdlHcRUSNo63M6zxaruvNkoBIPjqOQ382lAkKbZM+IfVd4jB5Pi1lGNQdA 53fOnfPhw5L9Q6EtD1Pim5+S4mrSrX4j+HWuyRpUj8D4UZf1SvMkgaFT0/DjMPRkqlk+ 8XIdN9FNKUsLuwDMIpeD8N5wUI+XaUgDYCqiwkRlKmA6miyyHqO4GmUhiZK8HgoP1rsC btdag5mlPPSelTuntTkr3LOXJnsjzFS5jFbhw4Ui6yC9aRy6Hx5zC/WgTchK0/OSNLw5 XQEQ71ucYAo2UJIf0KA7AoMoaJyMMQct9ySUoMXRrDtBol91j+P5wxV8j+K7SKnoYgZQ QWvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+K8Uz9GTAqOj4X8qwVF/G8F4McIsqoE82ebcV+AyN0E=; b=dSh0b9KQENVje+qCWtUtjLv3APlipct5wkskuSZ7P1SFdSyXBosScbU57xi8cJ/cNh 0ZLadYPsElFIYcuCaBJu6lRjha+rpYXKrszDckymE9vfgaf7wJ2Q5mi/K3i2HLa2pQMm 57EbUhj7tMGRiDjFtIdxhBtITWLgK2oKv0omH58mA6j18sYLAHqGQ8mWScKKbCZ/W6Eh g26R9KLL7lVlGw444jwbzKflI3/dZjXwB7aJ3l2Jrq9dSEo8wbeAD4ViUHxTcNcvejaw wZFNCyqblTT1EQBRUbw+laFgwre6hXDuJnSfad77spzl2ggeJqPguwcaALtpQVV7qvhS PpGQ== X-Gm-Message-State: ALKqPwcOTmMyKQf2oKQErQxRNk71I/PojMIXPyxb06daBvsaClYI/h2+ uCsug+SZ4U58mvKZTStAmuAwAQ== X-Google-Smtp-Source: AB8JxZp7UCjsnyI1mx6R2TztrbBmyY3Dn8Ft5ZgdewEyqZPqtOr2rAJN8glXDf6AitrwFffnuU3KhA== X-Received: by 2002:a62:3f4e:: with SMTP id m75-v6mr7298560pfa.176.1526608724289; Thu, 17 May 2018 18:58:44 -0700 (PDT) Received: from gizo.domain (97-115-125-157.ptld.qwest.net. [97.115.125.157]) by smtp.gmail.com with ESMTPSA id d15-v6sm10564908pfh.97.2018.05.17.18.58.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 18:58:43 -0700 (PDT) From: Greg Rose <gvrose8192@gmail.com> To: dev@openvswitch.org Date: Thu, 17 May 2018 18:57:33 -0700 Message-Id: <1526608674-12702-21-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1526608674-12702-1-git-send-email-gvrose8192@gmail.com> References: <1526608674-12702-1-git-send-email-gvrose8192@gmail.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH V2 20/41] datapath: Use correct tunnel receive for ip6gre X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org |
Series |
Add ERSPAN support
|
expand
|
diff --git a/datapath/linux/compat/ip6_gre.c b/datapath/linux/compat/ip6_gre.c index 1e2f46a..085d04f 100644 --- a/datapath/linux/compat/ip6_gre.c +++ b/datapath/linux/compat/ip6_gre.c @@ -603,8 +603,7 @@ static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) } - skb_reset_mac_header(skb); - ovs_ip_tunnel_rcv(tunnel->dev, skb, tun_dst); + ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, false); kfree(tun_dst); return PACKET_RCVD; }
During backports of ip6 gre I used ovs_ip_tunnel_rcv() for the ip6gre_rcv() function but that is wrong because it processes ipv4 tunnels. Use the correct backported ip6 tunnel receive in ip6 tunnel.c ip6_tnl_rcv(). Signed-off-by: Greg Rose <gvrose8192@gmail.com> --- datapath/linux/compat/ip6_gre.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)