Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@redhat.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
- Loading branch information
1 parent
d4395b8
commit eda56ed
Showing
5 changed files
with
72 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters