From db1dcb235feef8a5e13b26dc25705585fc5c325d Mon Sep 17 00:00:00 2001 From: Darrell Ball Date: Tue, 28 Aug 2018 19:54:01 -0700 Subject: 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 Fixes: bf61b8b1c1db ("datapath: Add support for kernel 4.16.x & 4.17.x.") Signed-off-by: Darrell Ball Signed-off-by: Ben Pfaff Tested-by: Yifeng Sun Reviewed-by: Yifeng Sun --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 21447b543..a2ef8bde5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ env: - KERNEL=4.14.63 - KERNEL=4.9.120 - KERNEL=4.4.148 + - KERNEL=3.19.8 - KERNEL=3.16.57 - TESTSUITE=1 LIBS=-ljemalloc -- cgit v1.2.1