On Mon, Aug 17, 2020 at 2:29 AM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > On Sun, Aug 16, 2020 at 4:54 AM Xin Long <lucien....@gmail.com> wrote: > > > > 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. > > Or put it into struct ipv6_stub? Hi Cong,
That could be one way. We may do it when this new function becomes more common. By now, I think it's okay to make TIPC depend on IPV6 || IPV6=n. Thanks.