amt: add IPV6 Kconfig dependency
Subsystems (2)
PATCH 1/1 amt: add IPV6 Kconfig dependency
From: Arnd Bergmann <[email protected]>
This driver cannot be built-in if IPV6 is a loadable module:
x86_64-linux-ld: drivers/net/amt.o: in function `amt_build_mld_gq':
amt.c:(.text+0x2e7d): undefined reference to `ipv6_dev_get_saddr'
Add the idiomatic Kconfig dependency that all such modules have.
--- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/Kconfig +1 -0
@@ -294,6 +294,7 @@ config GTP config AMT tristate "Automatic Multicast Tunneling (AMT)" depends on INET && IP_MULTICAST + depends on IPV6 || !IPV6 select NET_UDP_TUNNEL help This allows one to create AMT(Automatic Multicast Tunneling)
Signature · 1 line
2.29.2
Hi Arnd,
Quoted 22 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
This driver cannot be built-in if IPV6 is a loadable module:
x86_64-linux-ld:
drivers/net/amt.o: in function `amt_build_mld_gq':
amt.c:(.text+0x2e7d): undefined reference to `ipv6_dev_get_saddr'Add the idiomatic
Kconfigdependency that all such modules have.Fixes b9022b53adad ("amt: add control plane of amt interface")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/net/Kconfig +0
-0
drivers/net/Kconfig config GTP · line 300
Quoted 7 lines
drivers/net/Kconfig +1
-0@@ -294,6 +294,7 @@ config GTP config AMT tristate "Automatic Multicast Tunneling (AMT)" depends on INET && IP_MULTICAST + depends on IPV6 || !IPV6 select NET_UDP_TUNNEL help This allows one to create AMT(Automatic Multicast Tunneling)
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 8 lines · On Mon, 8 Nov 2021 12:12:24 +0100 you wrote:
From: Arnd Bergmann <[email protected]>
This driver cannot be built-in if IPV6 is a loadable module:
x86_64-linux-ld:
drivers/net/amt.o: in function `amt_build_mld_gq':
amt.c:(.text+0x2e7d): undefined reference to `ipv6_dev_get_saddr'[...]
Here is the summary with links:
- amt: add IPV6 Kconfig dependency
https://git.kernel.org/netdev/net/c/9758aba8542b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html