]> git.proxmox.com Git - mirror_ovs.git/commit
datapath: Fix builds on older kernels.
authorDarrell Ball <dlu998@gmail.com>
Wed, 29 Aug 2018 02:54:01 +0000 (19:54 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 30 Aug 2018 21:09:35 +0000 (14:09 -0700)
commitdb1dcb235feef8a5e13b26dc25705585fc5c325d
tree216c41d223d59e5ddd9821533aa4f06defec3b63
parent3ee9b38d5cd6c7b5dc29a5854432ffb77aa4f7db
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>
.travis.yml
acinclude.m4
datapath/linux/Modules.mk
datapath/linux/compat/include/net/ip6_fib.h [new file with mode: 0644]