Re: [PATCH ipsec-next] xfrm: input: constify xfrm_input_afinfo

2017-02-09 Thread Steffen Klassert
On Tue, Feb 07, 2017 at 02:52:30PM +0100, Florian Westphal wrote: > Nothing writes to these structures (the module owner was not used). > > While at it, size xfrm_input_afinfo[] by the highest existing xfrm family > (INET6), not AF_MAX. > > Signed-off-by: Florian Westphal Applied to ipsec-next,

[PATCH ipsec-next] xfrm: input: constify xfrm_input_afinfo

2017-02-07 Thread Florian Westphal
Nothing writes to these structures (the module owner was not used). While at it, size xfrm_input_afinfo[] by the highest existing xfrm family (INET6), not AF_MAX. Signed-off-by: Florian Westphal --- include/net/xfrm.h| 5 ++--- net/ipv4/xfrm4_protocol.c | 3 +-- net/ipv6/xfrm6_protoco