ip6_vti: Fix build when NET_IP_TUNNEL is not set.
Since commit469bdcefdc
ip6_vti uses ip_tunnel_get_stats64(), so we need to select NET_IP_TUNNEL to have this function available. Fixes:469bdcefdc
("ipv6: fix the use of pcpu_tstats in ip6_vti.c") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
960dfc4eb2
commit
876fc03aaa
|
@ -138,6 +138,7 @@ config INET6_XFRM_MODE_ROUTEOPTIMIZATION
|
||||||
config IPV6_VTI
|
config IPV6_VTI
|
||||||
tristate "Virtual (secure) IPv6: tunneling"
|
tristate "Virtual (secure) IPv6: tunneling"
|
||||||
select IPV6_TUNNEL
|
select IPV6_TUNNEL
|
||||||
|
select NET_IP_TUNNEL
|
||||||
depends on INET6_XFRM_MODE_TUNNEL
|
depends on INET6_XFRM_MODE_TUNNEL
|
||||||
---help---
|
---help---
|
||||||
Tunneling means encapsulating data of one protocol type within
|
Tunneling means encapsulating data of one protocol type within
|
||||||
|
|
Loading…
Reference in New Issue