diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 01:32:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 23:07:45 -0800 |
commit | 1786b3891c5d72803e48b990ebad4ac1b6fd9700 (patch) | |
tree | c4ac851b9f7b28849e162b5dfefb66e0134a3aba /net/xfrm | |
parent | d3e40a9f5ed53894bc0ba8cf010844f1028afe29 (diff) | |
download | blackbird-op-linux-1786b3891c5d72803e48b990ebad4ac1b6fd9700.tar.gz blackbird-op-linux-1786b3891c5d72803e48b990ebad4ac1b6fd9700.zip |
xfrm: Const'ify selector arg to xfrm_dst_update_parent.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
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) } 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; |