"冮晔维" <gan...@yusur.tech> writes: > From: gangyewei <gan...@yusur.tech> > Fix bug of ovs-tcpdump, which will cause megaflow action wrong. > As use ovs-tcpdump will add mipxxx NIC, and this NIC has IPv6 address by > default. > For vxlan topology, mipxxx will be treated as tunnel port, and will got error > actions. > For detail discuss, refer email of ovs-discuss titled in "[BUG] [ovs-tcpdump] > Got duplicate ...". > Signed-off-by: gangyewei <gan...@yusur.tech> > ---
Could we see a similar problem on systems that are configured to do zero-conf for ipv4 addresses as well? Maybe we should flush v4 addresses as well for that case? I've not seen it, so just asking. > 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( > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev