aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 00:28:01 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-24 02:07:41 -0500
commit183cad12785ffc036571c4b789dc084ec61a1bad (patch)
tree85cdd5f0952b9404c24dcfae77f2f2158e19c8ad /net/xfrm/xfrm_state.c
parentdd701754e7d230330adc0e212b94106bbfd34841 (diff)
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)
1819EXPORT_SYMBOL(km_policy_expired); 1819EXPORT_SYMBOL(km_policy_expired);
1820 1820
1821#ifdef CONFIG_XFRM_MIGRATE 1821#ifdef CONFIG_XFRM_MIGRATE
1822int km_migrate(struct xfrm_selector *sel, u8 dir, u8 type, 1822int km_migrate(const struct xfrm_selector *sel, u8 dir, u8 type,
1823 struct xfrm_migrate *m, int num_migrate, 1823 const struct xfrm_migrate *m, int num_migrate,
1824 struct xfrm_kmaddress *k) 1824 const struct xfrm_kmaddress *k)
1825{ 1825{
1826 int err = -EINVAL; 1826 int err = -EINVAL;
1827 int ret; 1827 int ret;