From: David S. Miller Date: Thu, 24 Feb 2011 06:32:54 +0000 (-0500) Subject: xfrm: Const'ify selector arg to xfrm_dst_update_parent. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1786b3891c5d72803e48b990ebad4ac1b6fd9700;p=openwrt%2Fstaging%2Fblogic.git xfrm: Const'ify selector arg to xfrm_dst_update_parent. Signed-off-by: David S. Miller --- 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) } static int inline -xfrm_dst_update_parent(struct dst_entry *dst, struct xfrm_selector *sel) +xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel) { #ifdef CONFIG_XFRM_SUB_POLICY struct xfrm_dst *xdst = (struct xfrm_dst *)dst;