Skip to content

Commit

Permalink
mpls: fix af_mpls dependencies for real
Browse files Browse the repository at this point in the history
Randy reported that selecting MPLS_ROUTING without PROC_FS breaks
the build, because since commit c1a9d65 ("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: c1a9d65 ("mpls: fix af_mpls dependencies")
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
teknoraver authored and davem330 committed Jun 12, 2019
1 parent 93c65f8 commit ec66854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mpls/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ec66854

Please sign in to comment.