p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 109822 for review

Subject: PERFORCE change 109822 for review
From: Sam Leffler
Date: Sun, 12 Nov 2006 23:49:26 GMT
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"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 109822 for review, Sam Leffler <=