[ovs-dev] [IPv6 v2 09/10] ovn: Add support for link-local addresses.
Ben Pfaff
blp at ovn.org
Mon Aug 1 05:17:28 UTC 2016
On Mon, Aug 01, 2016 at 12:12:17AM -0500, Justin Pettit wrote:
>
> > On Jul 29, 2016, at 12:46 PM, Ben Pfaff <blp at ovn.org> wrote:
> >
> > 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) {
>
> Fair point. How about the incremental at the end?
The bits->string->bits thing is also weird, but oh well.
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list