diff options
author | Florian Westphal <fw@strlen.de> | 2017-02-07 15:00:19 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-02-09 10:22:19 +0100 |
commit | 37b103830ec3e52a761bb647eb78da22a1fe4e09 (patch) | |
tree | 35afc38de405063abe1d479382ce3808dedc29da /net/ipv4/xfrm4_policy.c | |
parent | bdba9fe01e1bcb942c95a1a332b27ef829c87df4 (diff) | |
download | lwn-37b103830ec3e52a761bb647eb78da22a1fe4e09.tar.gz lwn-37b103830ec3e52a761bb647eb78da22a1fe4e09.zip |
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.c | 2 |
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, |