forked from ovn-org/ovn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
physical: Prevent wrong FDB to be learned with multichassis port.
If multichassis VIF is set with "unknown" address it might store wrong MAC address into the FDB table. The ICMP Need frag is generated by swapping the MAC src and dst of the original packet, however the inport remains the same. As a consequence the match on the inport to learn FDB will store source MAC address which is the original destination address, that leads to redirection of traffic the VIF which is wrong. Swap the inport and outport for the ICMP error to prevent this issue it also makes more sense as the ICMP is supposed to be generated by entity along the way and not by the original VIF. Note that those flows is still needed as userspace datapath is not capable of PMTUD yet. Reported-at: https://issues.redhat.com/browse/FDP-620 Signed-off-by: Ales Musil <[email protected]> Acked-by: Mark Michelson <[email protected]> Signed-off-by: Numan Siddique <[email protected]>
- Loading branch information
1 parent
f958cc7
commit 5bf9cb9
Showing
2 changed files
with
27 additions
and
3 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