提交 4bf07ef3 编写于 作者: J Jamal Hadi Salim 提交者: David S. Miller

[XFRM]: Rearrange struct xfrm_aevent_id for better compatibility.

struct xfrm_aevent_id needs to be 32-bit + 64-bit align friendly.

Based upon suggestions from Yoshifuji.
Signed-off-by: NJamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b61fafc4
...@@ -259,8 +259,8 @@ struct xfrm_usersa_id { ...@@ -259,8 +259,8 @@ struct xfrm_usersa_id {
}; };
struct xfrm_aevent_id { struct xfrm_aevent_id {
__u32 flags;
struct xfrm_usersa_id sa_id; struct xfrm_usersa_id sa_id;
__u32 flags;
}; };
struct xfrm_userspi_info { struct xfrm_userspi_info {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册