net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 15 Mar 2017 16:10:47 +0000 (18:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 22:09:09 +0000 (15:09 -0700)
commit3d20f1f7bd575d147ffa75621fa560eea0aec690
treefc483c1ebd4123c3853bf9fca9c25e23cfb734b8
parentfe8daf5fa715f7214952f06a387e4b7de818c5be
net/openvswitch: Set the ipv6 source tunnel key address attribute correctly

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>
net/openvswitch/flow_netlink.c