This patch is same as MR: https://github.com/openvswitch/ovs/pull/415

---- This is Patch detail ----

>From ddff9ac664083e6cbed97c214935b77f25dd1228 Mon Sep 17 00:00:00 2001
From: simon <[email protected]>
Date: Tue, 27 Jun 2023 11:20:51 +0800
Subject: [PATCH V3] Bugfix of ovs-tcpdump.

This bug will cause megaflow action wrong.
For detail discuss, refer email of ovs-discuss titled in "[BUG]
[ovs-tcpdump] Got duplicate ...".
---
 utilities/ovs-tcpdump.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/utilities/ovs-tcpdump.in b/utilities/ovs-tcpdump.in
index 420c11eb8..4cbd9a5d3 100755
--- a/utilities/ovs-tcpdump.in
+++ b/utilities/ovs-tcpdump.in
@@ -96,6 +96,10 @@ def _install_dst_if_linux(tap_name, mtu_value=None):
         *(['ip', 'link', 'set', 'dev', str(tap_name), 'up']))
     pipe.wait()

+    pipe = _doexec(
+        *(['ip', '-6', 'addr', 'flush', 'dev', str(tap_name)]))
+    pipe.wait()
+

 def _remove_dst_if_linux(tap_name):
     _doexec(
-- 
2.24.3 (Apple Git-128)


----
Simon Jones
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to