Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hashfn: fix inconsistencies on big-endian architectures (#3979)
The computation of the SuperFashHash function did assume that the code was run on a little-endian machine, causing a different result when it's run on a big-endian machine. This patch explicitly accesses the memory using little-endian mode to keep backwards compatibility but to produce the same result on big-endian architectures. Fixes: #3345 Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
- Loading branch information