xfrm: input: constify xfrm_input_afinfo
authorFlorian Westphal <fw@strlen.de>
Tue, 7 Feb 2017 13:52:30 +0000 (14:52 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 9 Feb 2017 09:22:17 +0000 (10:22 +0100)
commit960fdfdeb9e85a67bed136bc945c541ba61c2bdd
treeb0f0894a34a442965d33f4374586c40fabdcf99e
parent152bff377653047c2a69c226435e2c3fd316b592
xfrm: input: constify xfrm_input_afinfo

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 <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/ipv4/xfrm4_protocol.c
net/ipv6/xfrm6_protocol.c
net/xfrm/xfrm_input.c