]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vxlan: support both IPv4 and IPv6 sockets in a single vxlan device
authorJiri Benc <jbenc@redhat.com>
Thu, 24 Sep 2015 11:50:02 +0000 (13:50 +0200)
committerBrian Maly <brian.maly@oracle.com>
Wed, 12 Jun 2019 15:15:50 +0000 (11:15 -0400)
commit8acb266523e9f2465f0d2507d806dbfd9c1e8a5e
treed8134b990aacd8ba7011088507c529979c19679b
parent645b665061fb0a1244c4c7cc4a75560388fc673a
vxlan: support both IPv4 and IPv6 sockets in a single vxlan device

For metadata based vxlan interface, open both IPv4 and IPv6 socket. This is
much more user friendly: it's not necessary to create two vxlan interfaces
and pay attention to using the right one in routing rules.

Orabug: 29755932

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit b1be00a6c39fda2ec380e168d7bcf96fb8c9da42)

Reviewed-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/vxlan.c

Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/vxlan.c
include/net/vxlan.h
net/openvswitch/vport-vxlan.c