···19141914}19151915#endif1916191619171917+/* For the xfrm_usersa_info cases we have to work around some 32-bit vs.19181918+ * 64-bit compatability issues. On 32-bit the structure is 220 bytes, but19191919+ * for 64-bit it gets padded out to 224 bytes. Those bytes are just19201920+ * padding and don't have any content we care about. Therefore as long19211921+ * as we have enough bytes for the content we can make both cases work.19221922+ */19231923+19171924#define XMSGSIZE(type) sizeof(struct type)1918192519191926static const int xfrm_msg_min[XFRM_NR_MSGTYPES] = {19201920- [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info),19271927+ [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = 220, /* see above */19211928 [XFRM_MSG_DELSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id),19221929 [XFRM_MSG_GETSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id),19231930 [XFRM_MSG_NEWPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info),···19341927 [XFRM_MSG_ACQUIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_acquire),19351928 [XFRM_MSG_EXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_expire),19361929 [XFRM_MSG_UPDPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info),19371937- [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info),19301930+ [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = 220, /* see above */19381931 [XFRM_MSG_POLEXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_polexpire),19391932 [XFRM_MSG_FLUSHSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_flush),19401933 [XFRM_MSG_FLUSHPOLICY - XFRM_MSG_BASE] = 0,