On Sun, Nov 8, 2015 at 1:29 AM, Joe Stringer <[email protected]> wrote:
> Backport IPv4 reassembly from the upstream commit caaecdd3d3f8 ("inet:
> frags: remove INET_FRAG_EVICTED and use list_evictor for the test").
>
> This is necessary because kernels prior to upstream commit d6b915e29f4a
> ("ip_fragment: don't forward defragmented DF packet") would not always
> track the maximum received unit size during ip_defrag(). Without the
> MRU, refragmentation cannot occur so reassembled packets are dropped.
>
> Signed-off-by: Joe Stringer <[email protected]>
> ---
>  acinclude.m4                                  |   6 +
>  datapath/compat.h                             |  15 +
>  datapath/datapath.c                           |   9 +-
>  datapath/linux/Modules.mk                     |   4 +
>  datapath/linux/compat/include/net/inet_frag.h |  57 ++
>  datapath/linux/compat/include/net/inetpeer.h  |  16 +
>  datapath/linux/compat/include/net/ip.h        |  21 +
>  datapath/linux/compat/include/net/vrf.h       |  26 +
>  datapath/linux/compat/inet_fragment.c         | 557 +++++++++++++++++++
>  datapath/linux/compat/ip_fragment.c           | 737 
> ++++++++++++++++++++++++++
>  10 files changed, 1447 insertions(+), 1 deletion(-)
>  create mode 100644 datapath/linux/compat/include/net/inetpeer.h
>  create mode 100644 datapath/linux/compat/include/net/vrf.h
>  create mode 100644 datapath/linux/compat/inet_fragment.c
>  create mode 100644 datapath/linux/compat/ip_fragment.c
>

I would prefer to have ip-frag and ipv6-frag as separate modules if it
does not complicate code alot. Have you considered it?
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to