X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2Ftunnel.c;h=fb4854af83bf261bc5c8ec60b13cce444cfd2d74;hb=49a4902d76b9149e4fa399bde6d5cb9a91e64c07;hp=efc8b1c5a9e01ca542507ba19f918b964abe7834;hpb=5c7f58830a25520f7e18225b79de2774b9e9e012;p=cascardo%2Fovs.git diff --git a/datapath/tunnel.c b/datapath/tunnel.c index efc8b1c5a..fb4854af8 100644 --- a/datapath/tunnel.c +++ b/datapath/tunnel.c @@ -636,7 +636,7 @@ static bool check_mtu(struct sk_buff *skb, if (OVS_CB(skb)->tun_key->ipv4_dst) { df_inherit = false; pmtud = false; - frag_off = OVS_CB(skb)->tun_key->tun_flags & OVS_FLOW_TNL_F_DONT_FRAGMENT ? + frag_off = OVS_CB(skb)->tun_key->tun_flags & OVS_TNL_F_DONT_FRAGMENT ? htons(IP_DF) : 0; } else { df_inherit = mutable->flags & TNL_F_DF_INHERIT;