[XFRM]: Rearrange struct xfrm_aevent_id for better compatibility.
Jamal Hadi Salim [Tue, 21 Mar 2006 05:25:50 +0000 (21:25 -0800)]
struct xfrm_aevent_id needs to be 32-bit + 64-bit align friendly.

Based upon suggestions from Yoshifuji.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>

include/linux/xfrm.h

index b54a129..6b42cc4 100644 (file)
@@ -259,8 +259,8 @@ struct xfrm_usersa_id {
 };
 
 struct xfrm_aevent_id {
-       __u32                           flags;
        struct xfrm_usersa_id           sa_id;
+       __u32                           flags;
 };
 
 struct xfrm_userspi_info {