OSDN Git Service

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 d9391be..2b802a4 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.