[ovs-dev] [IPv6 v2 09/10] ovn: Add support for link-local addresses.

Ben Pfaff blp at ovn.org
Fri Jul 29 17:46:06 UTC 2016


On Thu, Jul 28, 2016 at 11:26:19PM -0700, Justin Pettit wrote:
> Every IPv6-enabled interface is supposed to have a link-local address
> available to it.  This commit adds a link local interface to each router
> port and scopes link-local routes to the ingress port that received the
> packet.
> 
> Signed-off-by: Justin Pettit <jpettit at ovn.org>

In add_route() in ovn-northd.c, I don't think that it's ideal to use a
string comparison to compare an IPv6 address:
+    struct ds match = DS_EMPTY_INITIALIZER;
+    if (!strcmp("fe80::", network_s) && plen == 64) {

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list