datapath: Fix ip tunnel compilation for newer kernel.
authorPravin B Shelar <pshelar@ovn.org>
Mon, 11 Jul 2016 20:06:10 +0000 (13:06 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Mon, 11 Jul 2016 20:06:10 +0000 (13:06 -0700)
commite776e1682dabb51e92440f6d52ccbc6234b0f803
tree72b5602c0d17a3f5b98f77abe1fddd96e5ade9d8
parentc2403bef6fac471f41945f615abe6c0244add5c6
datapath: Fix ip tunnel compilation for newer kernel.

compat iptunnel_xmit is used in backported tunnel code. but
it was only defined for kernel older than 3.18, This patch fixes
it by compiling it for all kernel which needs to use backported
tunnel implementation.

Reported-by: Justin Pettit <jpettit@ovn.org>
Reported-by: Joe Stringer <joe@ovn.org>
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/include/net/ip_tunnels.h
datapath/linux/compat/include/net/udp_tunnel.h
datapath/linux/compat/ip_tunnels_core.c