net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
commit03e9554ac48f7899037a2921da24dd2da0f51c0e
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 15 Mar 2017 16:10:47 +0000 (15 18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:41:20 +0000 (30 09:41 +0200)
tree9dbb6931a78cf091b9bf4d32081682a1a92c895b
parent2a486264b736de1c1d938c9c781efbadbf9fd794
net/openvswitch: Set the ipv6 source tunnel key address attribute correctly

[ Upstream commit 3d20f1f7bd575d147ffa75621fa560eea0aec690 ]

When dealing with ipv6 source tunnel key address attribute
(OVS_TUNNEL_KEY_ATTR_IPV6_SRC) we are wrongly setting the tunnel
dst ip, fix that.

Fixes: 6b26ba3a7d95 ('openvswitch: netlink attributes for IPv6 tunneling')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Paul Blakey <paulb@mellanox.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Joe Stringer <joe@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/openvswitch/flow_netlink.c