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

From: Chris Friesen
Date: Thu Oct 21 2010 - 11:06:07 EST


On 10/21/2010 01:50 AM, Florian Westphal wrote:
> Chris Friesen <chris.friesen@xxxxxxxxxxx> 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
chris.friesen@xxxxxxxxxxx
www.genband.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/