|
|
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.
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"
|
|