sctp: Clean up sctp checksumming code
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 13 Feb 2009 08:33:42 +0000 (08:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 08:03:10 +0000 (00:03 -0800)
commit4458f04c02a46c679a90ef71f866a415c192deb4
treeb08aa476ab4c525ab3cb33cea6114cb262cb2941
parent06e868066e3b5828383eb40ff4d1c0029100b0b5
sctp: Clean up sctp checksumming code

The sctp crc32c checksum is always generated in little endian.
So, we clean up the code to treat it as little endian and remove
all the __force casts.

Suggested by Herbert Xu.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
include/net/sctp/checksum.h
net/sctp/input.c
net/sctp/output.c