[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4ee36230808130056s7d01ebaeh677593ef7c099985@mail.gmail.com>
Date: Wed, 13 Aug 2008 16:56:32 +0900
From: "Park Ji-In" <tisphie@...il.com>
To: netdev@...r.kernel.org
Subject: [PATCH] rearrange structure xfrm_userpolicy_type in linux/xfrm.h
struct xfrm_userpolicy_type in linux/xfrm.h is something strange,
It seems that to align 4byte, but it's size in x86 with gcc is 6byte.
rearrange to fit in 4byte structure
Signed-off-by: Park Jiin <tisphie@...il.com>
---
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index fb0c215..95c7f1d 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -254,8 +254,8 @@ enum xfrm_ae_ftype_t {
struct xfrm_userpolicy_type {
__u8 type;
- __u16 reserved1;
- __u8 reserved2;
+ __u8 reserved1;
+ __u16 reserved2;
};
/* Netlink message attributes. */
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists