Re: [PATCH 00/18] xfrm: Add compat layer
From: David Miller
Date: Sat Jul 28 2018 - 17:18:24 EST
From: Dmitry Safonov <dima@xxxxxxxxxx>
Date: Sat, 28 Jul 2018 17:26:55 +0100
> Well, I think, I'll rework my patches set according to critics and
> separate compat xfrm layer. I've already a selftest to check that 32/64
> bit xfrm works - so the most time-taking part is done.
The way you've done the compat structures using __packed is only going
to work on x86, just FYI.
The "32-bit alignment for 64-bit objects" thing x86 has is very much
not universal amongst ABIs having 32-bit and 64-bit variants.