diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-08-20 13:56:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-20 15:42:36 -0700 |
commit | c1ea5d672aaff08da337dee735dbb548e3415585 (patch) | |
tree | 7e5e9a74d7e55be37c1ecea8c0cdeb1211791586 /net/openvswitch/vport.c | |
parent | 376534a3d17002d608985bd67c3b0880eacadd14 (diff) | |
download | op-kernel-dev-c1ea5d672aaff08da337dee735dbb548e3415585.zip op-kernel-dev-c1ea5d672aaff08da337dee735dbb548e3415585.tar.gz |
ip_tunnels: add IPv6 addresses to ip_tunnel_key
Add the IPv6 addresses as an union with IPv4 ones. When using IPv4, the
newly introduced padding after the IPv4 addresses needs to be zeroed out.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.c')
-rw-r--r-- | net/openvswitch/vport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index d14f594..a06adc7 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c @@ -603,7 +603,7 @@ int ovs_tunnel_get_egress_info(struct ip_tunnel_info *egress_tun_info, * saddr, tp_src and tp_dst */ __ip_tunnel_info_init(egress_tun_info, - fl.saddr, tun_key->ipv4_dst, + fl.saddr, tun_key->u.ipv4.dst, tun_key->ipv4_tos, tun_key->ipv4_ttl, tp_src, tp_dst, |