]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60f020f4e88688166bdec027168cb5e79e8152cc
treeb08aa476ab4c525ab3cb33cea6114cb262cb2941
parent90d023d8d73a947a0d88db716abbc985a59a9db4
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