ipfw and bridge: unaligned payload pointers panicing perfectly
performing MIPS boxes
Adrian Chadd
adrian.chadd at gmail.com
Tue Nov 23 06:57:02 UTC 2010
Hi everyone (and Luigi especially!)
I've found that enabling ipfw for bridge interfaces panics my MIPS
boards. A bit of digging shows that the payload mbuf isn't aligned as
passed into ipfw_chk(), and this is causing aligned access exceptions.
It likely isn't a problem on i386/ia64 because they are happy with
unaligned access. :-)
I'm going to try and patch it locally by copying the mbuf payload into
a new, temporary mbuf that's aligned; but I have no idea what the
"right" solution for the stack is.
Ideas? :)
Adrian
More information about the freebsd-net
mailing list