X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Ftunnel.c;h=fb4854af83bf261bc5c8ec60b13cce444cfd2d74;hb=dabd3fe3f8c0161aab5dc8e2cefb6375e810a38b;hp=efc8b1c5a9e01ca542507ba19f918b964abe7834;hpb=70cf679a5a8307f1bae268fcc67741d446990f9c;p=openvswitch diff --git a/datapath/tunnel.c b/datapath/tunnel.c index efc8b1c5..fb4854af 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;