ip_tunnel: Protect tunnel functions with CONFIG_INET guard.
authorJesse Gross <jesse@nicira.com>
Fri, 21 Jun 2013 23:17:11 +0000 (16:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 07:18:38 +0000 (00:18 -0700)
commit5243b6ac9ed1310f2329b3d0a830a55589e518ea
tree38d40653b4914e7216ba1a08d601d00ae88ebee1
parent479b1a5825f68f9b63d26a13ca25ffbb7d2617ad
ip_tunnel: Protect tunnel functions with CONFIG_INET guard.

Tunnel constants can be used in generic code but in these cases
the inline functions in ip_tunnels.h cause compilation problems
if CONFIG_INET is not set.

CC: Pravin Shelar <pshelar@nicira.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h