vport-gre.c (2fe5de9ce7d57498abc14b375cad2fcf8c3ee6cc) | vport-gre.c (60ff746739bf805a912484643c720b6124826140) |
---|---|
1/* 2 * Copyright (c) 2007-2013 Nicira, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of version 2 of the GNU General Public 6 * License as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 158 unchanged lines hidden (view full) --- 167 if (unlikely(!skb)) { 168 err = 0; 169 goto err_free_rt; 170 } 171 172 df = OVS_CB(skb)->tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? 173 htons(IP_DF) : 0; 174 | 1/* 2 * Copyright (c) 2007-2013 Nicira, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of version 2 of the GNU General Public 6 * License as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 158 unchanged lines hidden (view full) --- 167 if (unlikely(!skb)) { 168 err = 0; 169 goto err_free_rt; 170 } 171 172 df = OVS_CB(skb)->tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? 173 htons(IP_DF) : 0; 174 |
175 skb->local_df = 1; | 175 skb->ignore_df = 1; |
176 177 return iptunnel_xmit(skb->sk, rt, skb, fl.saddr, 178 OVS_CB(skb)->tun_key->ipv4_dst, IPPROTO_GRE, 179 OVS_CB(skb)->tun_key->ipv4_tos, 180 OVS_CB(skb)->tun_key->ipv4_ttl, df, false); 181err_free_rt: 182 ip_rt_put(rt); 183error: --- 87 unchanged lines hidden --- | 176 177 return iptunnel_xmit(skb->sk, rt, skb, fl.saddr, 178 OVS_CB(skb)->tun_key->ipv4_dst, IPPROTO_GRE, 179 OVS_CB(skb)->tun_key->ipv4_tos, 180 OVS_CB(skb)->tun_key->ipv4_ttl, df, false); 181err_free_rt: 182 ip_rt_put(rt); 183error: --- 87 unchanged lines hidden --- |