mpls: fix af_mpls dependencies
authorMatteo Croce <mcroce@redhat.com>
Sat, 8 Jun 2019 12:50:19 +0000 (14:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 02:57:24 +0000 (19:57 -0700)
MPLS routing code relies on sysctl to work, so let it select PROC_SYSCTL.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/Kconfig

index d9391beea980d0d262f7917d5db3acfac537b7f7..2b802a48d5a6e33a9972d0356f5812f8dfe61951 100644 (file)
@@ -26,6 +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
        ---help---
         Add support for forwarding of mpls packets.