summaryrefslogtreecommitdiffstats
path: root/net/ipv6/Makefile
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-01-07 21:52:40 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-09 02:56:10 +0100
commitacb3e04119fbf9145eb6d6bb707f6fb662ab4d3b (patch)
tree16e6114957ce9d739dc3c0c63de3b7d52dd8812c /net/ipv6/Makefile
parentnetpoll: prepare for ipv6 (diff)
downloadlinux-acb3e04119fbf9145eb6d6bb707f6fb662ab4d3b.tar.xz
linux-acb3e04119fbf9145eb6d6bb707f6fb662ab4d3b.zip
ipv6: move csum_ipv6_magic() and udp6_csum_init() into static library
As suggested by David, udp6_csum_init() is too big to be inlined, move it to ipv6 static library, net/ipv6/ip6_checksum.c. And the generic csum_ipv6_magic() too. Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/Makefile')
-rw-r--r--net/ipv6/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile
index 4ea244891b58..309af19a0a0a 100644
--- a/net/ipv6/Makefile
+++ b/net/ipv6/Makefile
@@ -40,7 +40,7 @@ obj-$(CONFIG_IPV6_SIT) += sit.o
obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
-obj-y += addrconf_core.o exthdrs_core.o
+obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o
obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o