]> git.proxmox.com Git - ovs.git/commit
compat: Fix upstream 4.4.119 kernel
authorGreg Rose <gvrose8192@gmail.com>
Fri, 20 Apr 2018 18:13:07 +0000 (11:13 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Wed, 9 May 2018 00:25:37 +0000 (17:25 -0700)
commit138df3e563de9da0e5a4155b3534a69621495742
tree81c98714293af98868133871da87325bcb65580e
parent4f4ac4bbbf2a06b1ec53db0249c87ef4c2f118e0
compat: Fix upstream 4.4.119 kernel

The Linux 4.4.119 kernel (and perhaps others) from kernel.org
backports some dst_cache code that breaks the openvswitch kernel
due to a duplicated name "dst_cache_destroy".  For most cases the
"USE_UPSTREAM_TUNNEL" covers this but in this case the dst_cache
feature needs to be separated out.

Add the necessary compatibility detection layer in acinclude.m4 and
then fixup the source files so that if the built-in kernel includes
dst_cache support then exclude our own compatibility code.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
acinclude.m4
datapath/linux/compat/dst_cache.c
datapath/linux/compat/include/net/dst_cache.h