[ovs-dev] [PATCH ovn] ovn-trace: Fix the typo from 'lookback' to 'loopback'.

numans at ovn.org numans at ovn.org
Tue Oct 20 06:12:02 UTC 2020


From: Numan Siddique <numans at ovn.org>

Fixes: a60b9a12709b("ovn-trace: Handle IPv6 packets for tcp_reset action.")
Signed-off-by: Numan Siddique <numans at ovn.org>
---
 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
-- 
2.26.2



More information about the dev mailing list