Skip to content

Commit c530189

Browse files
lxindavem330
authored andcommitted
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: 5a6f6f5 ("tipc: set ub->ifindex for local ipv6 address") Reported-by: kernel test robot <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 47733f9 commit c530189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/tipc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
menuconfig TIPC
77
tristate "The TIPC Protocol"
88
depends on INET
9+
depends on IPV6 || IPV6=n
910
help
1011
The Transparent Inter Process Communication (TIPC) protocol is
1112
specially designed for intra cluster communication. This protocol

0 commit comments

Comments
 (0)