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-24 02:07:45 -0500 |
commit | 1786b3891c5d72803e48b990ebad4ac1b6fd9700 (patch) | |
tree | c4ac851b9f7b28849e162b5dfefb66e0134a3aba /net | |
parent | d3e40a9f5ed53894bc0ba8cf010844f1028afe29 (diff) |
xfrm: Const'ify selector arg to xfrm_dst_update_parent.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-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) | |||
1525 | } | 1525 | } |
1526 | 1526 | ||
1527 | static int inline | 1527 | static int inline |
1528 | xfrm_dst_update_parent(struct dst_entry *dst, struct xfrm_selector *sel) | 1528 | xfrm_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; |