Date: Fri, 1 Dec 2006 18:55:52 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110826 for review Message-ID: <200612011855.kB1Itqp3011694@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110826 Change 110826 by imp@imp_lighthouse on 2006/12/01 18:55:18 Follow bde's suggestion and make this 'aligned(4)' because that's what all the code is written to expect. Affected files ... .. //depot/projects/arm/src/sys/netinet/ip.h#2 edit Differences ... ==== //depot/projects/arm/src/sys/netinet/ip.h#2 (text+ko) ==== @@ -65,7 +65,7 @@ u_char ip_p; /* protocol */ u_short ip_sum; /* checksum */ struct in_addr ip_src,ip_dst; /* source and dest address */ -} __packed; +} __packed __aligned(4); #ifdef CTASSERT CTASSERT(sizeof (struct ip) == 20);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612011855.kB1Itqp3011694>