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:50:43 +0000 (13:50 -0800)
commitcd4d9378f9768d03109e59c18130677f6c0b8c99
tree39035c4e67bee12f18556d26b2d8d206bebbac44
parent71bfe2fdba7334259d2d10dd7a2410cc7367c1c4
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