Re: [ovs-dev] [PATCH 3/4] compat: Backport ip_do_fragment().

2016-06-24 Thread Joe Stringer
On 24 June 2016 at 14:33, Jesse Gross wrote: > On Wed, Jun 22, 2016 at 6:00 PM, Joe Stringer wrote: >> diff --git a/datapath/linux/compat/include/net/ip.h >> b/datapath/linux/compat/include/net/ip.h >> index 29a4d43a1151..581e912cf2dd 100644 >> ---

Re: [ovs-dev] [PATCH 3/4] compat: Backport ip_do_fragment().

2016-06-24 Thread Jesse Gross
On Wed, Jun 22, 2016 at 6:00 PM, Joe Stringer wrote: > diff --git a/datapath/linux/compat/include/net/ip.h > b/datapath/linux/compat/include/net/ip.h > index 29a4d43a1151..581e912cf2dd 100644 > --- a/datapath/linux/compat/include/net/ip.h > +++

[ovs-dev] [PATCH 3/4] compat: Backport ip_do_fragment().

2016-06-22 Thread Joe Stringer
Prior to upstream Linux commit d6b915e29f4a ("ip_fragment: don't forward defragmented DF packet"), the fragmentation behaviour was incorrect when dealing with linear skbs, as it would not respect the "max_frag_size" that ip_defrag() provides, but instead attempt to use the output device's MTU. If