Address error trap in ng_netflow on MIPS

Adrian Chadd adrian at freebsd.org
Mon Apr 20 06:27:31 UTC 2015


Hi!

The problem is that the frame is unaligned and MIPS doesn't do
unaligned accesses for you.

So yes, you either replace them with a memcpy of the header into
aligned memory first, or you modify everything to use macros/inlines
that treat the data as a char array (1 byte aligned) and do char
accesses to get to it.


-adrian


More information about the freebsd-mips mailing list