Vlad Yasevich 9c5ff5f75d 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 <jukka.taimisto@mail.suomi.net>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-22 14:52:23 -08:00
..
2008-10-22 18:54:47 -05:00
2008-09-12 16:30:20 -07:00
2008-12-19 15:22:54 -05:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:35:18 -08:00
2008-07-05 21:26:57 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-11-25 18:00:48 -08:00
2008-06-11 21:00:38 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2009-01-16 17:08:23 -05:00
2008-11-12 00:54:54 -08:00
2009-01-06 11:38:15 -07:00
2008-11-16 23:01:49 -08:00
2009-01-08 10:40:57 -08:00
2008-11-14 11:29:12 +11:00
2008-06-11 21:00:38 -07:00
2008-07-05 21:25:39 -07:00
2008-12-15 23:43:36 -08:00
2008-11-16 19:39:21 -08:00
2008-11-25 18:00:48 -08:00