From: Vlad Yasevich Date: Thu, 22 Jan 2009 22:52:23 +0000 (-0800) Subject: sctp: Fix crc32c calculations on big-endian arhes. X-Git-Tag: v2.6.29-rc3~23^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5ff5f75d0d0a1c7928ecfae3f38418b51a88e3;p=pandora-kernel.git sctp: Fix crc32c calculations on big-endian arhes. crc32c algorithm provides a byteswaped result. On little-endian arches, the result ends up in big-endian/network byte order. On big-endinan arches, the result ends up in little-endian order and needs to be byte swapped again. Thus calling cpu_to_le32 gives the right output. Tested-by: Jukka Taimisto Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed