[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54781F55.5040603@gmail.com>
Date: Fri, 28 Nov 2014 15:08:05 +0800
From: FengYu LeiDian <fengyuleidian0615@...il.com>
To: roy.qing.li@...il.com
CC: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ip xfrm: support 64bit kernel and 32bit userspace
于 2014年11月28日 14:58, roy.qing.li@...il.com 写道:
> From: Li RongQing<roy.qing.li@...il.com>
>
> The size of struct xfrm_userpolicy_info is 168 bytes for 64bit kernel, and
> 164 bytes for 32bit userspace because of the different alignment. and lead
> to "ip xfrm" be unable to work.
>
> add a pad in struct xfrm_userpolicy_info, and enable it by set
> KERNEL_64_USERSPACE_32 to y
It's not easy to fix it like this.
Refer:
http://marc.info/?l=linux-netdev&m=139280143513650&w=2
http://thread.gmane.org/gmane.linux.network/157118/focus=157122
--
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