]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vxlan-ipv4-ipv6'
authorDavid S. Miller <davem@davemloft.net>
Sun, 27 Sep 2015 05:40:56 +0000 (22:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Sep 2015 05:40:56 +0000 (22:40 -0700)
commit153183ea400313fd283eb3abc38efaed64bdfe8c
treeeac61f37c5d1b01a861e935c402e9c0d1500b5b3
parente7181df944393435b05ee3593d09f8bf2230fe31
parent8bc7d56f55469c61b8337e17226d19adea51554f
Merge branch 'vxlan-ipv4-ipv6'

Jiri Benc says:

====================
vxlan: support both IPv4 and IPv6 sockets

Note: this needs net merged into net-next in order to apply.

It's currently not easy enough to work with metadata based vxlan tunnels. In
particular, it's necessary to create separate network interfaces for IPv4
and IPv6 tunneling. Assigning an IPv6 address to an IPv4 interface is
allowed yet won't do what's expected. With route based tunneling, one has to
pay attention to use the vxlan interface opened with the correct family.
Other users of this (openvswitch) would need to always create two vxlan
interfaces.

Furthermore, there's no sane API for creating an IPv6 vxlan metadata based
interface.

This patchset simplifies this by opening both IPv4 and IPv6 socket if the
vxlan interface has the metadata flag (IFLA_VXLAN_COLLECT_METADATA) set.
Assignment of addresses etc. works as expected after this.
====================

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