summaryrefslogtreecommitdiff
path: root/net/tipc/Kconfig
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-08-16 12:32:03 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-17 07:04:55 +0300
commitc530189905efe91b6a464db4ec1b56b4c069609f (patch)
treeeb3332283a7a79065a7ae6bdf6ad11ba1fc18e97 /net/tipc/Kconfig
parent47733f9daf4fe4f7e0eb9e273f21ad3a19130487 (diff)
downloadlinux-c530189905efe91b6a464db4ec1b56b4c069609f.tar.xz
tipc: not enable tipc when ipv6 works as a module
When using ipv6_dev_find() in one module, it requires ipv6 not to work as a module. Otherwise, this error occurs in build: undefined reference to `ipv6_dev_find'. So fix it by adding "depends on IPV6 || IPV6=n" to tipc/Kconfig, as it does in sctp/Kconfig. Fixes: 5a6f6f579178 ("tipc: set ub->ifindex for local ipv6 address") Reported-by: kernel test robot <lkp@intel.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/Kconfig')
-rw-r--r--net/tipc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig
index 9dd780215eef..be1c4003d67d 100644
--- a/net/tipc/Kconfig
+++ b/net/tipc/Kconfig
@@ -6,6 +6,7 @@
menuconfig TIPC
tristate "The TIPC Protocol"
depends on INET
+ depends on IPV6 || IPV6=n
help
The Transparent Inter Process Communication (TIPC) protocol is
specially designed for intra cluster communication. This protocol