summaryrefslogtreecommitdiff
path: root/net/ipv4/xfrm4_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/ipv4/xfrm4_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/ipv4/xfrm4_policy.c')
-rw-r--r--net/ipv4/xfrm4_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c
index 25613539766f..71b4ecc195c7 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -269,7 +269,7 @@ static struct dst_ops xfrm4_dst_ops_template = {
.gc_thresh = INT_MAX,
};
-static struct xfrm_policy_afinfo xfrm4_policy_afinfo = {
+static const struct xfrm_policy_afinfo xfrm4_policy_afinfo = {
.dst_ops = &xfrm4_dst_ops_template,
.dst_lookup = xfrm4_dst_lookup,
.get_saddr = xfrm4_get_saddr,