summaryrefslogtreecommitdiff
path: root/net/mpls/Kconfig
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2019-06-12 12:50:37 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-12 19:42:34 +0300
commitec66854c832c95f612756192d42ac1158593800f (patch)
tree158bae9dcefd1e9c5ea848f3373f5662c90534ac /net/mpls/Kconfig
parent93c65f83f25bd5e072a42c9659a85fdc4fb47c27 (diff)
downloadlinux-ec66854c832c95f612756192d42ac1158593800f.tar.xz
mpls: fix af_mpls dependencies for real
Randy reported that selecting MPLS_ROUTING without PROC_FS breaks the build, because since commit c1a9d65954c6 ("mpls: fix af_mpls dependencies"), MPLS_ROUTING selects PROC_SYSCTL, but Kconfig's select doesn't recursively handle dependencies. Change the select into a dependency. Fixes: c1a9d65954c6 ("mpls: fix af_mpls dependencies") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/Kconfig')
-rw-r--r--net/mpls/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig
index 2b802a48d5a6..d1ad69b7942a 100644
--- a/net/mpls/Kconfig
+++ b/net/mpls/Kconfig
@@ -26,7 +26,7 @@ config NET_MPLS_GSO
config MPLS_ROUTING
tristate "MPLS: routing support"
depends on NET_IP_TUNNEL || NET_IP_TUNNEL=n
- select PROC_SYSCTL
+ depends on PROC_SYSCTL
---help---
Add support for forwarding of mpls packets.