aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 00:21:08 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-24 02:07:40 -0500
commitdd701754e7d230330adc0e212b94106bbfd34841 (patch)
tree0224c4514aa5f86ac4073d6e7d6e5a14f9ad1185 /net/xfrm/xfrm_policy.c
parent6cc329610f2a1698576a2a8a94dbad8f82a66363 (diff)
xfrm: Const'ify pointer args to migrate_tmpl_match and xfrm_migrate_check
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 5f19ae66ac2d..eb76da74dfa4 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -2788,7 +2788,7 @@ static struct xfrm_policy * xfrm_migrate_policy_find(struct xfrm_selector *sel,
2788 return ret; 2788 return ret;
2789} 2789}
2790 2790
2791static int migrate_tmpl_match(struct xfrm_migrate *m, struct xfrm_tmpl *t) 2791static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t)
2792{ 2792{
2793 int match = 0; 2793 int match = 0;
2794 2794
@@ -2858,7 +2858,7 @@ static int xfrm_policy_migrate(struct xfrm_policy *pol,
2858 return 0; 2858 return 0;
2859} 2859}
2860 2860
2861static int xfrm_migrate_check(struct xfrm_migrate *m, int num_migrate) 2861static int xfrm_migrate_check(const struct xfrm_migrate *m, int num_migrate)
2862{ 2862{
2863 int i, j; 2863 int i, j;
2864 2864