Date: Tue, 23 Nov 2010 14:30:56 +0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: FreeBSD Net <freebsd-net@freebsd.org> Cc: Luigi Rizzo <rizzo@iet.unipi.it> Subject: ipfw and bridge: unaligned payload pointers panicing perfectly performing MIPS boxes Message-ID: <AANLkTi=qr1-m%2Bq=QMFNAMjM_i_wPgNXsPQ%2B6rfN_tc2L@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=qr1-m%2Bq=QMFNAMjM_i_wPgNXsPQ%2B6rfN_tc2L>