[ovs-dev] [PATCH 2/3] tunneling: Add fine-grained control of Don't Fragment bit.

Jesse Gross jesse at nicira.com
Fri Apr 29 18:48:39 UTC 2011


On Fri, Apr 29, 2011 at 11:35 AM, Andrew Evans <aevans at nicira.com> wrote:
> On Thu, 2011-04-28 at 17:05 -0700, Jesse Gross wrote:
>> On Wed, Apr 27, 2011 at 2:59 PM, Andrew Evans <aevans at nicira.com> wrote:
>> > @@ -756,7 +755,8 @@ static bool check_mtu(struct sk_buff *skb,
>> >        if (skb->protocol == htons(ETH_P_IP)) {
>> >                struct iphdr *iph = ip_hdr(skb);
>> >
>> > -               frag_off |= iph->frag_off & htons(IP_DF);
>> > +               if (df_inherit)
>> > +                       frag_off = iph->frag_off & htons(IP_DF);
>>
>> I think you need to something similar for IPv6 as well.
>
> Like this?

Yes, that looks good.  I think the combined patch is ready to go:
Acked-by: Jesse Gross <jesse at nicira.com>



More information about the dev mailing list