From patchwork Tue Oct 20 06:12:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1384632 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CFjvq3jbGz9sRR for ; Tue, 20 Oct 2020 17:12:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B7C4186A9A; Tue, 20 Oct 2020 06:12:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1U6LnRIDl_q1; Tue, 20 Oct 2020 06:12:17 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 270F786A98; Tue, 20 Oct 2020 06:12:17 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id EA10CC0052; Tue, 20 Oct 2020 06:12:16 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0EEC3C0051 for ; Tue, 20 Oct 2020 06:12:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E9A5D86A99 for ; Tue, 20 Oct 2020 06:12:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mQq5gBOU3vpy for ; Tue, 20 Oct 2020 06:12:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by fraxinus.osuosl.org (Postfix) with ESMTPS id AEE2786A98 for ; Tue, 20 Oct 2020 06:12:13 +0000 (UTC) X-Originating-IP: 27.7.99.250 Received: from nusiddiq.home.org.com (unknown [27.7.99.250]) (Authenticated sender: numans@ovn.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 5A5941C0006; Tue, 20 Oct 2020 06:12:08 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Tue, 20 Oct 2020 11:42:02 +0530 Message-Id: <20201020061202.1051704-1-numans@ovn.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn] ovn-trace: Fix the typo from 'lookback' to 'loopback'. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" From: Numan Siddique Fixes: a60b9a12709b("ovn-trace: Handle IPv6 packets for tcp_reset action.") Signed-off-by: Numan Siddique Acked-by: Dumitru Ceara --- utilities/ovn-trace.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utilities/ovn-trace.c b/utilities/ovn-trace.c index 5d54c0fd8b..db5bb301e8 100644 --- a/utilities/ovn-trace.c +++ b/utilities/ovn-trace.c @@ -1737,13 +1737,13 @@ static void execute_tcp6_reset(const struct ovnact_nest *on, const struct ovntrace_datapath *dp, const struct flow *uflow, uint8_t table_id, - bool lookback, enum ovnact_pipeline pipeline, + bool loopback, enum ovnact_pipeline pipeline, struct ovs_list *super) { struct flow tcp_flow = *uflow; /* Update fields for TCP segment. */ - if (lookback) { + if (loopback) { tcp_flow.dl_dst = uflow->dl_src; tcp_flow.dl_src = uflow->dl_dst; tcp_flow.ipv6_dst = uflow->ipv6_src; @@ -1771,13 +1771,13 @@ static void execute_tcp_reset(const struct ovnact_nest *on, const struct ovntrace_datapath *dp, const struct flow *uflow, uint8_t table_id, - bool lookback, enum ovnact_pipeline pipeline, + bool loopback, enum ovnact_pipeline pipeline, struct ovs_list *super) { if (get_dl_type(uflow) == htons(ETH_TYPE_IP)) { - execute_tcp4_reset(on, dp, uflow, table_id, lookback, pipeline, super); + execute_tcp4_reset(on, dp, uflow, table_id, loopback, pipeline, super); } else { - execute_tcp6_reset(on, dp, uflow, table_id, lookback, pipeline, super); + execute_tcp6_reset(on, dp, uflow, table_id, loopback, pipeline, super); } } static void