datapath: compat: Block upstream ip_tunnels functions.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 11 Dec 2015 04:03:01 +0000 (20:03 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 11 Dec 2015 21:49:47 +0000 (13:49 -0800)
commit7842e2571fccc2b97b69e02d61516ca5c99b3eb9
tree615ab39f8e3f9bc45d983b6741dc1c3aee7f6be3
parent034694196899580af53ac622fd7c074730a9a5c7
datapath: compat: Block upstream ip_tunnels functions.

Since upstream and compat ip_tunnel structures are not same, we can not
use exported upstream functions.
Following patch blocks definitions which used ip_tunnel internal
structure. Function which do not depend on these structures are
allows by explicitly by defining it in the header files. e.g.
iptunnel_handle_offloads(), iptunnel_pull_header(). etc.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/include/net/gre.h
datapath/linux/compat/include/net/ip_tunnels.h