datapath: Provide compatibility for kernels up to 3.17
[cascardo/ovs.git] / datapath / vport-lisp.c
index 3335aa5..ad5cd23 100644 (file)
@@ -495,10 +495,10 @@ static int lisp_send(struct vport *vport, struct sk_buff *skb)
        if (err)
                goto err_free_rt;
 
-       skb->local_df = 1;
+       skb->ignore_df = 1;
 
        df = tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0;
-       sent_len = iptunnel_xmit(rt, skb,
+       sent_len = iptunnel_xmit(skb->sk, rt, skb,
                             saddr, tun_key->ipv4_dst,
                             IPPROTO_UDP, tun_key->ipv4_tos,
                             tun_key->ipv4_ttl, df, false);