summaryrefslogtreecommitdiff
path: root/datapath/linux/Modules.mk
diff options
context:
space:
mode:
authorDarrell Ball <dlu998@gmail.com>2018-08-28 19:54:01 -0700
committerBen Pfaff <blp@ovn.org>2018-08-30 14:09:35 -0700
commitdb1dcb235feef8a5e13b26dc25705585fc5c325d (patch)
tree216c41d223d59e5ddd9821533aa4f06defec3b63 /datapath/linux/Modules.mk
parent3ee9b38d5cd6c7b5dc29a5854432ffb77aa4f7db (diff)
downloadopenvswitch-db1dcb235feef8a5e13b26dc25705585fc5c325d.tar.gz
datapath: Fix builds on older kernels.
On older kernels, for example 3.19, the function rt6_get_cookie() is not available and used with ipv6 config enabled; it was introduced in 4.2. Put back the replacement function if it does not exist. Add a 3.19 version to travis. CC: Yifeng Sun <pkusunyifeng@gmail.com> Fixes: bf61b8b1c1db ("datapath: Add support for kernel 4.16.x & 4.17.x.") Signed-off-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Tested-by: Yifeng Sun <pkusunyifeng@gmail.com> Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Diffstat (limited to 'datapath/linux/Modules.mk')
-rw-r--r--datapath/linux/Modules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath/linux/Modules.mk b/datapath/linux/Modules.mk
index b06ca15a3..e31d78447 100644
--- a/datapath/linux/Modules.mk
+++ b/datapath/linux/Modules.mk
@@ -82,6 +82,7 @@ openvswitch_headers += \
linux/compat/include/net/inetpeer.h \
linux/compat/include/net/ip.h \
linux/compat/include/net/ip_tunnels.h \
+ linux/compat/include/net/ip6_fib.h \
linux/compat/include/net/ip6_route.h \
linux/compat/include/net/ip6_tunnel.h \
linux/compat/include/net/ipv6.h \