On Thu, May 09, 2019 at 01:07:48PM +0200, Steffen Klassert wrote:
> On Fri, May 03, 2019 at 05:46:13PM +0200, Florian Westphal wrote:
> > xfrm_state_afinfo is a very large struct; its over 4kbyte on 64bit systems.
> >
> > The size comes from two arrays to store the l4 protocol type pointers
> > (e
On Fri, May 03, 2019 at 05:46:13PM +0200, Florian Westphal wrote:
> xfrm_state_afinfo is a very large struct; its over 4kbyte on 64bit systems.
>
> The size comes from two arrays to store the l4 protocol type pointers
> (esp, ah, ipcomp and so on).
>
> There are only a handful of those, so just u
xfrm_state_afinfo is a very large struct; its over 4kbyte on 64bit systems.
The size comes from two arrays to store the l4 protocol type pointers
(esp, ah, ipcomp and so on).
There are only a handful of those, so just use pointers for protocols
that we implement instead of mostly-empty arrays.
T