xfrm: Const'ify selector arg to xfrm_dst_update_parent.
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 06:32:54 +0000 (01:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 07:07:45 +0000 (23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index f1f90af4a03608f9dede2064cfefcccb5aea398c..3a4221a71b098fee51ad7ce103786469dee9c782 100644 (file)
@@ -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;