Network alignment and endianness

John Klos <[email protected]> Tue, 8 Nov 2016 23:59:44 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.evbmips,gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi,

On evbmips64-eb, -current from two days ago on an EdgeRouter Lite, trying 
to ping6 the other side of a gif interface:

panic: kernel diagnostic assertion "IP6_HDR_ALIGNED_P(icmp6)" failed: file 
"/usr/current/src/sys/netinet6/icmp6.c", line 485
cpu0: Begin traceback...
pid 268450496 not found
cpu0: End traceback...

dumping to dev 8,1 offset 1048575
dump i/o error


rebooting...

This looks to be the same as this:

http://mail-index.netbsd.org/port-arm/2016/10/02/msg003925.html

So... What's the deal with big endian systems and alignment? Any ideas?

John