[ovs-git] [openvswitch/ovs] eda56e: ovn: Fix IPv6 DAD failure for child ports
GitHub
noreply at github.com
Thu Oct 11 17:13:21 UTC 2018
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: eda56edcb924498b25d6e5010107489726ed9510
https://github.com/openvswitch/ovs/commit/eda56edcb924498b25d6e5010107489726ed9510
Author: Numan Siddique <nusiddiq at redhat.com>
Date: 2018-10-10 (Wed, 10 Oct 2018)
Changed paths:
M ovn/controller/ofctrl.c
M ovn/controller/ofctrl.h
M ovn/controller/physical.c
M ovn/lib/logical-fields.h
M tests/ovn.at
Log Message:
-----------
ovn: Fix IPv6 DAD failure for child ports
When a child vlan interface is created inside a VM, the below kernel message
is seen and IPv6 doesn't work on that interface.
[ 138.000753] IPv6: vlan4: IPv6 duplicate address <IPv6 LLA> detected!
When a child port sends a broadcast packet, OVN delivers the same
packet back to the child port (and hence the DAD check fails).
This is because 'MLF_ALLOW_LOOPBACK_BIT' is set in REG10 in table 0 when
the packet is received from any child port and table 'OFTABLE_CHECK_LOOPBACK'
doesn't drop the packet.
This patch fixes the issue by using a new register bit (MLF_NESTED_CONTAINER_BIT)
instead of 'MLF_ALLOW_LOOPBACK_BIT' and sets it in REG10 for the packets received
from child ports.
Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list