commit 82d69203df634b4dfa765c94f60ce9482bcc44d6
Author: Daniel Jurgens <email address hidden>
Date: Wed May 4 15:00:33 2016 +0300
net/mlx4_en: Fix endianness bug in IPV6 csum calculation
Use htons instead of unconditionally byte swapping nexthdr. On a little
endian systems shifting the byte is correct behavior, but it results in
incorrect csums on big endian architectures.
Hi,
This upstream commit should fix the bug
commit 82d69203df634b4 dfa765c94f60ce9 482bcc44d6
Author: Daniel Jurgens <email address hidden>
Date: Wed May 4 15:00:33 2016 +0300
net/mlx4_en: Fix endianness bug in IPV6 csum calculation
Use htons instead of unconditionally byte swapping nexthdr. On a little
endian systems shifting the byte is correct behavior, but it results in
incorrect csums on big endian architectures.