Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Xin Long <lucien.xin@gmail.com>
To: network dev <netdev@vger.kernel.org>
Cc: davem@davemloft.net, Jon Maloy <jmaloy@redhat.com>,
Ying Xue <ying.xue@windriver.com>,
tipc-discussion@lists.sourceforge.net,
Randy Dunlap <rdunlap@infradead.org>
Subject: [PATCH net] tipc: not enable tipc when ipv6 works as a module
Date: Sun, 16 Aug 2020 17:32:03 +0800 [thread overview]
Message-ID: <d20778039a791b9721bb449d493836edb742d1dc.1597570323.git.lucien.xin@gmail.com> (raw)
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>
---
net/tipc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig
index 9dd7802..be1c400 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
--
2.1.0
next reply other threads:[~2020-08-16 9:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 9:32 Xin Long [this message]
2020-08-16 18:29 ` Cong Wang
2020-08-17 6:49 ` Xin Long
2020-08-17 18:31 ` Cong Wang
2020-08-17 18:49 ` Randy Dunlap
2020-08-17 18:55 ` Cong Wang
2020-08-17 19:00 ` Randy Dunlap
2020-08-17 19:26 ` Cong Wang
2020-08-17 19:55 ` Randy Dunlap
2020-08-17 20:29 ` Cong Wang
2020-08-17 20:43 ` Randy Dunlap
2020-08-17 20:59 ` Cong Wang
2020-08-17 21:39 ` David Miller
2020-08-17 22:20 ` Cong Wang
2020-08-18 7:59 ` Xin Long
2020-08-17 21:37 ` David Miller
2020-08-17 21:34 ` David Miller
2020-08-17 4:05 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d20778039a791b9721bb449d493836edb742d1dc.1597570323.git.lucien.xin@gmail.com \
--to=lucien.xin@gmail.com \
--cc=davem@davemloft.net \
--cc=jmaloy@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=tipc-discussion@lists.sourceforge.net \
--cc=ying.xue@windriver.com \
--subject='Re: [PATCH net] tipc: not enable tipc when ipv6 works as a module' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).