aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 0c503be3260c..d09766893d18 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -894,7 +894,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type,
894{ 894{
895 int err; 895 int err;
896 struct xfrm_policy *pol, *ret; 896 struct xfrm_policy *pol, *ret;
897 xfrm_address_t *daddr, *saddr; 897 const xfrm_address_t *daddr, *saddr;
898 struct hlist_node *entry; 898 struct hlist_node *entry;
899 struct hlist_head *chain; 899 struct hlist_head *chain;
900 u32 priority = ~0U; 900 u32 priority = ~0U;