Re: [PATCH ipsec-next 09/11] xfrm: remove afinfo pointer from xfrm_mode

2019-03-28 Thread Sabrina Dubroca
(just a couple of checkpatch-like comments) 2019-03-27, 18:31:38 +0100, Florian Westphal wrote: > diff --git a/net/ipv4/xfrm4_output.c b/net/ipv4/xfrm4_output.c > index 6802d1aee424..cff048ad8562 100644 > --- a/net/ipv4/xfrm4_output.c > +++ b/net/ipv4/xfrm4_output.c > @@ -72,6 +72,8 @@ int xfrm4_o

[PATCH ipsec-next 09/11] xfrm: remove afinfo pointer from xfrm_mode

2019-03-27 Thread Florian Westphal
Adds an EXPORT_SYMBOL for afinfo_get_rcu, as it will now be called from ipv6 in case of CONFIG_IPV6=m. This change has virtually no effect on vmlinux size, but it reduces afinfo size and allows followup patch to make xfrm modes const. Signed-off-by: Florian Westphal --- include/net/xfrm.h