]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
xfrm: Const'ify ptr args to xfrm_policy_ok.
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 06:43:33 +0000 (01:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 07:07:46 +0000 (23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index f766e5fb718f8d5e7d05be5ed79ece893c5730eb..2de0bc233d44beac86c60ed073ecda868c8342da 100644 (file)
@@ -1956,7 +1956,7 @@ xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
  * Otherwise "-2 - errored_index" is returned.
  */
 static inline int
-xfrm_policy_ok(struct xfrm_tmpl *tmpl, struct sec_path *sp, int start,
+xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start,
               unsigned short family)
 {
        int idx = start;