summaryrefslogtreecommitdiff
path: root/net/ipv6/xfrm6_policy.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-02-07 17:00:19 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2017-02-09 12:22:19 +0300
commit37b103830ec3e52a761bb647eb78da22a1fe4e09 (patch)
tree35afc38de405063abe1d479382ce3808dedc29da /net/ipv6/xfrm6_policy.c
parentbdba9fe01e1bcb942c95a1a332b27ef829c87df4 (diff)
downloadlinux-37b103830ec3e52a761bb647eb78da22a1fe4e09.tar.xz
xfrm: policy: make policy backend const
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r--net/ipv6/xfrm6_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c
index 3217e85334e3..79651bc71bf0 100644
--- a/net/ipv6/xfrm6_policy.c
+++ b/net/ipv6/xfrm6_policy.c
@@ -289,7 +289,7 @@ static struct dst_ops xfrm6_dst_ops_template = {
.gc_thresh = INT_MAX,
};
-static struct xfrm_policy_afinfo xfrm6_policy_afinfo = {
+static const struct xfrm_policy_afinfo xfrm6_policy_afinfo = {
.dst_ops = &xfrm6_dst_ops_template,
.dst_lookup = xfrm6_dst_lookup,
.get_saddr = xfrm6_get_saddr,