]> git.hungrycats.org Git - linux/commitdiff
[NET]: Give struct flowi explicit alignment, with help from yoshfuji.
authorAndrew Morton <akpm@osdl.org>
Thu, 18 Mar 2004 12:23:46 +0000 (04:23 -0800)
committerPatrick McHardy <kaber@trash.net>
Thu, 18 Mar 2004 12:23:46 +0000 (04:23 -0800)
include/net/flow.h

index 1b495278975cc3255e1917fb3e6310fc8b38ffb6..025579ddb925ae044c0625e208046b1ccd632a02 100644 (file)
@@ -77,7 +77,7 @@ struct flowi {
 #define fl_icmp_type   uli_u.icmpt.type
 #define fl_icmp_code   uli_u.icmpt.code
 #define fl_ipsec_spi   uli_u.spi
-};
+} __attribute__((__aligned__(BITS_PER_LONG/8)));
 
 #define FLOW_DIR_IN    0
 #define FLOW_DIR_OUT   1