]> 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:09:09 +0000 (17:09 -0800)
commitf22ca8011fdb7e81ffce5017cd26539bccf50e94
treeac9c52d31bc02981e92b7ee1d3674631d1233208
parentf05843ea3878140d3f6c71bd0e05d1ffb4052a07
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