diff options
author | Matteo Croce <mcroce@redhat.com> | 2019-06-12 11:50:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-12 09:42:34 -0700 |
commit | ec66854c832c95f612756192d42ac1158593800f (patch) | |
tree | 158bae9dcefd1e9c5ea848f3373f5662c90534ac /net | |
parent | 93c65f83f25bd5e072a42c9659a85fdc4fb47c27 (diff) | |
download | linux-ec66854c832c95f612756192d42ac1158593800f.tar.gz linux-ec66854c832c95f612756192d42ac1158593800f.tar.bz2 linux-ec66854c832c95f612756192d42ac1158593800f.zip |
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')
-rw-r--r-- | net/mpls/Kconfig | 2 |
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. |