Date: Thu, 9 Jan 2014 15:43:10 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Guy Yur <guyyur@gmail.com> Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Subject: Re: 10.0-RC1, armv6: "pfctl -s state" crashes on BeagleBone Black due to unaligned access Message-ID: <20140109114310.GU71033@FreeBSD.org> In-Reply-To: <CAC67Hz_QXcHHSFOLLgUGqLWRQpzhRRv_b%2BWGMMQsfk-VQp74RA@mail.gmail.com> References: <CAC67Hz_QXcHHSFOLLgUGqLWRQpzhRRv_b%2BWGMMQsfk-VQp74RA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Guy, On Sat, Jan 04, 2014 at 03:06:02PM +0200, Guy Yur wrote: G> sizeof(struct pfsync_state_key) is 36 G> sizeof(struct pfsync_state_peer) is 32 G> sizeof(struct pf_addr) is 16 G> sizeof(struct pfsync_state) is 242 I am also afraid that the pfsync(4) itself isn't alignment safe. And receiving and processing a pfsync packet with couple of states would panic an arm box. Is it possible for you to check this? -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140109114310.GU71033>