summaryrefslogtreecommitdiffstats
path: root/net/ipv6/Kconfig
diff options
context:
space:
mode:
authorDavid Lebrun <david.lebrun@uclouvain.be>2017-03-27 11:43:59 +0200
committerDavid S. Miller <davem@davemloft.net>2017-03-27 16:05:06 -0700
commit402a5bc462d47f0b7c9e8a516c124c9c162fe2aa (patch)
treed4ea2ef6173924825cbbfb038c0820d78386f229 /net/ipv6/Kconfig
parent656455bf19f6a58e3fc5441a4cdcc8f598979329 (diff)
downloadlinux-402a5bc462d47f0b7c9e8a516c124c9c162fe2aa.tar.bz2
ipv6: sr: select DST_CACHE by default
When CONFIG_IPV6_SEG6_LWTUNNEL is selected, automatically select DST_CACHE. This allows to remove multiple ifdefs. Signed-off-by: David Lebrun <david.lebrun@uclouvain.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/Kconfig')
-rw-r--r--net/ipv6/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig
index e2afe677a9d9..48c452959d2c 100644
--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -307,6 +307,7 @@ config IPV6_SEG6_LWTUNNEL
bool "IPv6: Segment Routing Header encapsulation support"
depends on IPV6
select LWTUNNEL
+ select DST_CACHE
---help---
Support for encapsulation of packets within an outer IPv6
header and a Segment Routing Header using the lightweight