]> git.proxmox.com Git - ovs.git/commit
compat: Fixup ipv6 fragmentation on 4.9.135+ kernels
authorGreg Rose <gvrose8192@gmail.com>
Thu, 10 Jan 2019 22:09:51 +0000 (14:09 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Jan 2019 01:08:17 +0000 (17:08 -0800)
commit4a90b277baca77f2af682e77ee9ee91114ee4b37
tree505d17f0cfe9cb38841d7e0e22e5050077c9343c
parent5dbdb8140a398e9bf15731f4fb70467a2144adcd
compat: Fixup ipv6 fragmentation on 4.9.135+ kernels

Upstream commit 648700f76b03 ("inet: frags: use rhashtables...") changed
how ipv6 fragmentation is implemented.  This patch was backported to
the upstream stable 4.9.x kernel starting at 4.9.135.

This patch creates the compatibility layer changes required to both
compile and also operate correctly with ipv6 fragmentation on these
kernels. Check if the inet_frags 'rnd' field is present to key on
whether the upstream patch is present.  Also update Travis to the
latest 4.9 kernel release so that this patch is compile tested.

Passes Travis:
https://travis-ci.org/gvrose8192/ovs-experimental/builds/478033409

Cc: William Tu <u9012063@gmail.com>
Cc: Yi-Hung Wei <yihung.wei@gmail.com>
Cc: Yifeng Sun <pkusunyifeng@gmail.com>
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
.travis.yml
acinclude.m4
datapath/linux/compat/nf_conntrack_reasm.c