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.
pinctrl: Handle arp/nd for other address families.
Previously we could only generate ARP requests from IPv4 packets and NS requests from IPv6 packets. This was the case because we rely on information in the packet to generate the ARP/NS requests. However in case of ARP/NS requests originating from the Logical_Router pipeline for nexthop lookups we overwrite the affected fields afterwards. This overwrite is done by the userdata openflow actions. Because of this we actually do not rely on any information of the IPv4/6 packets in these cases. Unfortunately we can not easily determine if we are actually later overwriting the affected fields. The approach now is to use the fields from the IP header if we have a matching IP version and default to some values otherwise. In case we overwrite this data afterwards we are generally good. If we do not overwrite this data because of some bug we will send out invalid ARP/NS requests. They will hopefully be dropped by the rest of the network. The alternative would have been to introduce new arp/nd_ns actions where we guarantee this overwrite. This would not suffer from the above limitations, but would require a coordination on upgrades between all ovn-controllers and northd. Signed-off-by: Felix Huettner <[email protected]> Signed-off-by: Martin Kalcok <[email protected]> Co-authored-by: Martin Kalcok <[email protected]> Signed-off-by: Dumitru Ceara <[email protected]>
- Loading branch information
Showing
6 changed files
with
648 additions
and
21 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
Oops, something went wrong.