OSDN Git Service

Merge branch 'vxlan-cleanup-and-IPv6-link-local-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:37:04 +0000 (13:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:37:04 +0000 (13:37 -0400)
commitcf67bebecb4b5564586a4674646382ca380ec205
tree20c023f49c87ae453ec2ecb8f4196ade88452554
parentc0ca9e7201c4507e70c4d71c1997c410651fe3c5
parent49f810f00fa347427fa8cba2197b303234842d25
Merge branch 'vxlan-cleanup-and-IPv6-link-local-support'

Matthias Schiffer says:

====================
vxlan: cleanup and IPv6 link-local support

Running VXLANs over IPv6 link-local addresses allows to use them as a
drop-in replacement for VLANs, avoiding to allocate additional outer IP
addresses to run the VXLAN over.

Since v1, I have added a lot more consistency checks to the address
configuration, making sure address families and scopes match. To simplify
the implementation, I also did some general refactoring of the
configuration handling in the new first patch of the series.

The second patch is more cleanup; is slightly touches OVS code, so that
list is in CC this time, too.

As in v1, the last two patches actually make VXLAN over IPv6 link-local
work, and allow multiple VXLANs with the same VNI and port, as long as
link-local addresses on different interfaces are used. As suggested, I now
store in the flags field if the VXLAN uses link-local addresses or not.

v3 removes log messages as suggested by Roopa Prabhu (as it is very unusual
for errors in netlink requests to be printed to the kernel log.) The commit
message of patch 5 has been extended to add a note about IPv4.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>