[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130422.162301.2219305973270706624.davem@davemloft.net>
Date: Mon, 22 Apr 2013 16:23:01 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pshelar@...ira.com
CC: netdev@...r.kernel.org
Subject: you must fix this
You CANNOT call into functional ipv6 functions from unrelated
kernel modules:
net/built-in.o: In function `ip_tunnel_xmit':
/home/davem/src/GIT/net-next/net/ipv4/ip_tunnel.c:619: undefined reference to `icmpv6_send'
There is no way I can allow this, it requires a call into IPV6 proper
to a function that cannot be added to one of the source files we
force building statically into the kernel such as addrconf_core.c
Right now things are completely broken with IPV6=y and everything
else modular, and that is not acceptable.
DO NOT fix this by adding Kconfig dependencies, and DO NOT fix this
by mucking with ugly ifdefs the ip_tunnel.c
You have to remove this need to call into a stateful portion of
the IPV6 code, portions which cannot be moved into simply helper
functions which get statically linked into the kernel.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists