Commit c5301899 authored by Xin Long's avatar Xin Long Committed by David S. Miller

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: 5a6f6f57 ("tipc: set ub->ifindex for local ipv6 address")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47733f9d
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
menuconfig TIPC menuconfig TIPC
tristate "The TIPC Protocol" tristate "The TIPC Protocol"
depends on INET depends on INET
depends on IPV6 || IPV6=n
help help
The Transparent Inter Process Communication (TIPC) protocol is The Transparent Inter Process Communication (TIPC) protocol is
specially designed for intra cluster communication. This protocol specially designed for intra cluster communication. This protocol
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment