X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fvport-vxlan.c;h=1850fc29258884630910e9d13d5224c35ae24bb6;hb=26fd9d16d32078ccbea0d8a7bc87d2ed4793039f;hp=9f8874adf59872ff939893ecdbac554401d84560;hpb=c25ea53406a819bc2acff7b50e804c21f307bdec;p=sliver-openvswitch.git diff --git a/datapath/vport-vxlan.c b/datapath/vport-vxlan.c index 9f8874adf..1850fc292 100644 --- a/datapath/vport-vxlan.c +++ b/datapath/vport-vxlan.c @@ -106,15 +106,6 @@ static void vxlan_build_header(const struct vport *vport, vxh->vx_flags = htonl(VXLAN_FLAGS); vxh->vx_vni = htonl(be64_to_cpu(tun_key->tun_id) << 8); - - /* - * Allow our local IP stack to fragment the outer packet even if the - * DF bit is set as a last resort. We also need to force selection of - * an IP ID here because Linux will otherwise leave it at 0 if the - * packet originally had DF set. - */ - skb->local_df = 1; - __ip_select_ident(ip_hdr(skb), skb_dst(skb), 0); } /* Called with rcu_read_lock and BH disabled. */