Merge branch 'mainstream'
[sliver-openvswitch.git] / datapath / vport-vxlan.c
index 5546820..f3ef947 100644 (file)
@@ -42,7 +42,6 @@
 #include <net/vxlan.h>
 
 #include "datapath.h"
-#include "tunnel.h"
 #include "vport.h"
 
 #define OVS_VXLAN_RCV_PRIORITY         8
@@ -73,7 +72,7 @@ static int vxlan_rcv(struct vxlan_handler *vh, struct sk_buff *skb, __be32 vx_vn
        /* Save outer tunnel values */
        iph = ip_hdr(skb);
        key = cpu_to_be64(ntohl(vx_vni) >> 8);
-       tnl_tun_key_init(&tun_key, iph, key, TUNNEL_KEY);
+       ovs_flow_tun_key_init(&tun_key, iph, key, TUNNEL_KEY);
 
        ovs_vport_receive(vport, skb, &tun_key);
        return PACKET_RCVD;