Re: My WLI-UC-GNM up crash

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 29 Jul 2013 08:59:58 -0600
The __aligned(8) likely isn't going to do anything. It says that you are guaranteeing to the compiler that you'll only ever allocate / cast pointers to this data type on a 8-byte boundary. __packed might help, but likely won't because that's for on-wire things and anything thing that wasn't already not marked packed that should be would already be broken, but broken giving bad data, not broken segfaulting.

__aligned(1) is what you want. But that has other performance problems...

Warner

On Jul 28, 2013, at 4:35 AM, Hans Petter Selasky wrote:

> Hi,
> 
> Can you try the attached patch?
> 
> --HPS
> <radiotap.diff>_______________________________________________
> freebsd-arm_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe_at_freebsd.org"
Received on Mon Jul 29 2013 - 15:00:08 UTC