vport-vxlan.c (f01ec1c017dead42092997a2b8684fcab4cbf126) | vport-vxlan.c (60ff746739bf805a912484643c720b6124826140) |
---|---|
1/* 2 * Copyright (c) 2013 Nicira, Inc. 3 * Copyright (c) 2013 Cisco Systems, Inc. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of version 2 of the GNU General Public 7 * License as published by the Free Software Foundation. 8 * --- 156 unchanged lines hidden (view full) --- 165 if (IS_ERR(rt)) { 166 err = PTR_ERR(rt); 167 goto error; 168 } 169 170 df = OVS_CB(skb)->tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? 171 htons(IP_DF) : 0; 172 | 1/* 2 * Copyright (c) 2013 Nicira, Inc. 3 * Copyright (c) 2013 Cisco Systems, Inc. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of version 2 of the GNU General Public 7 * License as published by the Free Software Foundation. 8 * --- 156 unchanged lines hidden (view full) --- 165 if (IS_ERR(rt)) { 166 err = PTR_ERR(rt); 167 goto error; 168 } 169 170 df = OVS_CB(skb)->tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? 171 htons(IP_DF) : 0; 172 |
173 skb->local_df = 1; | 173 skb->ignore_df = 1; |
174 175 inet_get_local_port_range(net, &port_min, &port_max); 176 src_port = vxlan_src_port(port_min, port_max, skb); 177 178 err = vxlan_xmit_skb(vxlan_port->vs, rt, skb, 179 fl.saddr, OVS_CB(skb)->tun_key->ipv4_dst, 180 OVS_CB(skb)->tun_key->ipv4_tos, 181 OVS_CB(skb)->tun_key->ipv4_ttl, df, --- 23 unchanged lines hidden --- | 174 175 inet_get_local_port_range(net, &port_min, &port_max); 176 src_port = vxlan_src_port(port_min, port_max, skb); 177 178 err = vxlan_xmit_skb(vxlan_port->vs, rt, skb, 179 fl.saddr, OVS_CB(skb)->tun_key->ipv4_dst, 180 OVS_CB(skb)->tun_key->ipv4_tos, 181 OVS_CB(skb)->tun_key->ipv4_ttl, df, --- 23 unchanged lines hidden --- |