aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorCharlie Root <renato.riolino@eldorado.org.br>2021-01-12 01:56:12 +0000
committerAlan Somers <asomers@FreeBSD.org>2021-01-12 02:03:46 +0000
commit292808246db702b9194deb8938e40fd06914aea9 (patch)
treeadb48361d0ed2b15da1d6d236fc86ada6b758506 /sys/sys
parent7eaea04a5bb1dc86c43ce046311e1c1a042994d3 (diff)
downloadsrc-292808246db702b9194deb8938e40fd06914aea9.tar.gz
src-292808246db702b9194deb8938e40fd06914aea9.zip
ICMP checksum test: Fix for big endian
The in_cksum tests originally tried to simulate a BE environment by swapping the byte order of the input. But that's overcomplicated, and didn't actually work on real BE hardware. The correct testing strategy is just to test on the native endianness, and run the tests in both BE and LE environments. Submitted by: Renato Riolino <renato.riolino@eldorado.org.br> Reviewed By: asomers MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D23193
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions