Date: Sun, 12 Nov 2006 23:49:26 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109822 for review Message-ID: <200611122349.kACNnQFR031617@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109822 Change 109822 by sam@sam_ebb on 2006/11/12 23:49:00 mark struct ether_header packed so gcc doesn't assume the struct is 32-bit aligned; this fixes if_bridge Affected files ... .. //depot/projects/arm/src/sys/net/ethernet.h#2 edit Differences ... ==== //depot/projects/arm/src/sys/net/ethernet.h#2 (text+ko) ==== @@ -61,7 +61,7 @@ u_char ether_dhost[ETHER_ADDR_LEN]; u_char ether_shost[ETHER_ADDR_LEN]; u_short ether_type; -}; +} __packed; /* * Structure of a 48-bit Ethernet address.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611122349.kACNnQFR031617>