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)
commitec66854c832c95f612756192d42ac1158593800f
tree158bae9dcefd1e9c5ea848f3373f5662c90534ac
parent93c65f83f25bd5e072a42c9659a85fdc4fb47c27
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>
net/mpls/Kconfig