ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Jul 2015 12:43:58 +0000 (14:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 18:09:32 +0000 (11:09 -0700)
commit052831879945be0d9fad2216b127147c565ec1b1
treee91103a0786daa2726781d189f36dd33e556a6f7
parent3985e8a3611a93bb36789f65db862e5700aab65e
ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n

Account for the configuration FIB_RULES=y && INET=n as FIB_RULES can
be selected by IPV6 or DECNET without INET.

Fixes: e7030878fc84 ("fib: Add fib rule match on tunnel id")
Fixes: 3093fbe7ff4b ("route: Per route IP tunnel metadata via lightweight tunnel")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h