summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2009-01-22 23:52:23 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-22 23:52:23 +0100
commit9c5ff5f75d0d0a1c7928ecfae3f38418b51a88e3 (patch)
tree5211a9794d3d8104b19d1dd544248755f5faf076 /net
parentphy: Add suspend/resume support to SMSC PHYs (diff)
downloadlinux-9c5ff5f75d0d0a1c7928ecfae3f38418b51a88e3.tar.xz
linux-9c5ff5f75d0d0a1c7928ecfae3f38418b51a88e3.zip
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions