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 f1f90af4a036..3a4221a71b09 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1525,7 +1525,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size)
1525} 1525}
1526 1526
1527static int inline 1527static int inline
1528xfrm_dst_update_parent(struct dst_entry *dst, struct xfrm_selector *sel) 1528xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
1529{ 1529{
1530#ifdef CONFIG_XFRM_SUB_POLICY 1530#ifdef CONFIG_XFRM_SUB_POLICY
1531 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; 1531 struct xfrm_dst *xdst = (struct xfrm_dst *)dst;