summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 06:28:01 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-24 08:07:41 +0100
commit183cad12785ffc036571c4b789dc084ec61a1bad (patch)
tree85cdd5f0952b9404c24dcfae77f2f2158e19c8ad /net/xfrm/xfrm_state.c
parentxfrm: Const'ify pointer args to migrate_tmpl_match and xfrm_migrate_check (diff)
downloadlinux-183cad12785ffc036571c4b789dc084ec61a1bad.tar.xz
linux-183cad12785ffc036571c4b789dc084ec61a1bad.zip
xfrm: Const'ify pointer args to km_migrate() and implementations.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 7028f063f093..555beddb63f0 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -1819,9 +1819,9 @@ void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid)
EXPORT_SYMBOL(km_policy_expired);
#ifdef CONFIG_XFRM_MIGRATE
-int km_migrate(struct xfrm_selector *sel, u8 dir, u8 type,
- struct xfrm_migrate *m, int num_migrate,
- struct xfrm_kmaddress *k)
+int km_migrate(const struct xfrm_selector *sel, u8 dir, u8 type,
+ const struct xfrm_migrate *m, int num_migrate,
+ const struct xfrm_kmaddress *k)
{
int err = -EINVAL;
int ret;