]> git.proxmox.com Git - ovs.git/commit
compat: Fixups for newer kernels
authorGreg Rose <gvrose8192@gmail.com>
Thu, 31 May 2018 21:10:10 +0000 (14:10 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 1 Jun 2018 01:58:30 +0000 (18:58 -0700)
commit436d36db628cd9cdb30e33e8718ab70f376bb9e4
tree7b91a5d364cc2f20e244d1d5c7642af61a9a99f3
parent6ba083c51e5f8d68f33d1b2c29c37c335465bc5c
compat: Fixups for newer kernels

A recent patch series added support for ERSPAN but left some problems
remaining for kernel releases from 4.10 to 4.14.  This patch
addresses those problems.

Of note is that the old cisco gre compat layer code is gone for good.

Also, several compat defines in acinclude.m4 were looking for keys
in .c source files - this does not work on distros without source
code.  A more reliable key was already defined so we use that instead.

We have pared support for the Linux kernel releases in .travis.yml
to reflect that 4.15 is no longer in the LTS list.  With this patch
the Out of Tree OVS datapath kernel modules can build on kernels
up to 4.14.47.  Support for kernels up to 4.16.x will be added
later.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
15 files changed:
.travis.yml
acinclude.m4
datapath/linux/compat/geneve.c
datapath/linux/compat/gre.c
datapath/linux/compat/include/linux/compiler-gcc.h
datapath/linux/compat/include/net/dst_metadata.h
datapath/linux/compat/include/net/erspan.h
datapath/linux/compat/include/net/gre.h
datapath/linux/compat/include/net/ip_tunnels.h
datapath/linux/compat/ip6_gre.c
datapath/linux/compat/ip6_tunnel.c
datapath/linux/compat/ip_gre.c
datapath/linux/compat/ip_tunnel.c
datapath/linux/compat/ip_tunnels_core.c
datapath/linux/compat/vxlan.c