diff options
author | Cong Wang <amwang@redhat.com> | 2013-01-07 20:52:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-08 17:56:10 -0800 |
commit | acb3e04119fbf9145eb6d6bb707f6fb662ab4d3b (patch) | |
tree | 16e6114957ce9d739dc3c0c63de3b7d52dd8812c /net/ipv6/Makefile | |
parent | b7394d2429c198b1da3d46ac39192e891029ec0f (diff) | |
download | op-kernel-dev-acb3e04119fbf9145eb6d6bb707f6fb662ab4d3b.zip op-kernel-dev-acb3e04119fbf9145eb6d6bb707f6fb662ab4d3b.tar.gz |
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile index 4ea2448..309af19 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 |