bpf: make LWTUNNEL_BPF dependent on INET
Subsystems (2)
PATCH 1/1 bpf: make LWTUNNEL_BPF dependent on INET
Lightweight tunnels are L3 constructs that are used with IP/IP6. Make the dependency explicit at least for LWT-BPF, as now they call into IP routing.
Signed-off-by Peter Oskolkov <[email protected]>
--- net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/Kconfig +1 -1
@@ -403,7 +403,7 @@ config LWTUNNEL config LWTUNNEL_BPF bool "Execute BPF program as route nexthop action" - depends on LWTUNNEL + depends on LWTUNNEL && INET default y if LWTUNNEL=y ---help--- Allows to run BPF programs as a nexthop action following a route
Signature · 1 line
2.21.0.rc0.258.g878e2cd30e-goog
Quoted 15 lines · Peter Oskolkov
Lightweight tunnels are L3 constructs that are used with IP/IP6. Make the dependency explicit at least for LWT-BPF, as now they call into IP routing.
Signed-off-by Peter Oskolkov <[email protected]>--- net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/Kconfig +0
-0
net/Kconfig config LWTUNNEL · line 409
Quoted 8 lines
net/Kconfig +1
-1@@ -403,7 +403,7 @@ config LWTUNNEL config LWTUNNEL_BPF bool "Execute BPF program as route nexthop action" - depends on LWTUNNEL + depends on LWTUNNEL && INET default y if LWTUNNEL=y ---help--- Allows to run BPF programs as a nexthop action following a route
It seems you forgot a 'Reported-by:' tag
Thanks.
Quoted 19 lines · Eric Dumazet
Quoted 15 lines · Peter Oskolkov
Lightweight tunnels are L3 constructs that are used with IP/IP6. Make the dependency explicit at least for LWT-BPF, as now they call into IP routing.
Signed-off-by Peter Oskolkov <[email protected]>--- net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/Kconfig +0
-0@@ -403,7 +403,7 @@ config LWTUNNEL
Quoted 10 lines
net/Kconfig config LWTUNNEL · line 409
Quoted 8 lines
net/Kconfig +1
-1config LWTUNNEL_BPF bool "Execute BPF program as route nexthop action" - depends on LWTUNNEL + depends on LWTUNNEL && INET default y if LWTUNNEL=y ---help--- Allows to run BPF programs as a nexthop action following a routeIt seems you forgot a 'Reported-by:' tag
Fixed: https://patchwork.ozlabs.org/patch/1043108/
Quoted 2 lines
Thanks.