Subject: Re: [BUG] problems with "ip xfrm" on 32-bit userspace with 64-bit kernel

From: Chris Friesen <[email-masked]>
Date: Thu, 21 Oct 2010 09:05:46 -0600

On 10/21/2010 01:50 AM, Florian Westphal wrote:
> Chris Friesen <[email-masked]> wrote:
>> We've run into a 32/64 compatibility problem with iproute2.  The "ip
>> xfrm monitor acquire" command doesn't work properly due to struct size
>> mismatches between kernel and userspace.
> 
> Yes.  See archives for 'xfrm: add x86 CONFIG_COMPAT support'
> (http://marc.info/?t=127050655600003&r=1&w=2)
> 
> for a discussion on why the patch set to fix this was rejected.

Interesting discussion.  Kind of sucks for people trying to use it though.

How do distros resolve this?  Do they build iproute2 as a 64-bit package
or something?

Chris

-- 
Chris Friesen
Software Developer
GENBAND
[email-masked]
www.genband.com