aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFaisal Latif <flatif@neteffect.com>2008-02-21 08:31:22 -0600
committerRoland Dreier <rolandd@cisco.com>2008-02-26 16:24:29 -0800
commit30da7cff87f0ffa169fe07b766c3d6a5f6d1f6ab (patch)
treee68206af4e17a9542b978ca97aaca1a373ba8349 /net
parenta2e9c384ce76993cd68d6de57eaa81985b4618e3 (diff)
RDMA/nes: Fix CRC endianness for RDMA connection establishment on big-endian
With commit ef19454b ("[LIB] crc32c: Keep intermediate crc state in cpu order"), the behavior of crc32c changes on big-endian platforms. Our algorithm expects the previous behavior; otherwise we have RDMA connection establishment failure on big-endian platforms like powerpc. Apply cpu_to_le32() to value returned by crc32c() to get the previous behavior. Signed-off-by: Faisal Latif <flatif@neteffect.com> Signed-off-by: Glenn Streiff <gstreiff@neteffect.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions