Skip to content

Commit

Permalink
[XFRM]: Rearrange struct xfrm_aevent_id for better compatibility.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jamal Hadi Salim authored and David S. Miller committed Mar 21, 2006
1 parent b61fafc commit 4bf07ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4bf07ef

Please sign in to comment.