]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: move csum_ipv6_magic() and udp6_csum_init() into static library
authorCong Wang <amwang@redhat.com>
Mon, 7 Jan 2013 20:52:40 +0000 (20:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2013 01:56:10 +0000 (17:56 -0800)
commit0c497f9c1843a27279fe32ef364051cef8b8f9c0
tree16e6114957ce9d739dc3c0c63de3b7d52dd8812c
parentd9d19d2ef682583e993e508dc2fb0006fedffca6
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>
include/net/ip6_checksum.h
net/ipv6/Makefile
net/ipv6/ip6_checksum.c [new file with mode: 0644]
net/ipv6/udp.c