]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mpls: fix af_mpls dependencies for real
authorMatteo Croce <mcroce@redhat.com>
Wed, 12 Jun 2019 09:50:37 +0000 (11:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 16:42:34 +0000 (09:42 -0700)
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>
net/mpls/Kconfig

index 2b802a48d5a6e33a9972d0356f5812f8dfe61951..d1ad69b7942ac2b369efd7c363f8034d3ed0e985 100644 (file)
@@ -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.