summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 07:50:12 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-24 08:07:48 +0100
commit046860138e3f244d19e59c4fb1ef637803f3abbf (patch)
treed46797540a9d8462c9e7022a478192ad488c89c3 /net/xfrm/xfrm_state.c
parentxfrm: Const'ify xfrm_address_t args to xfrm_*_hash. (diff)
downloadlinux-046860138e3f244d19e59c4fb1ef637803f3abbf.tar.xz
linux-046860138e3f244d19e59c4fb1ef637803f3abbf.zip
xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 0383d83555d5..ac6c48a486e4 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -658,7 +658,7 @@ EXPORT_SYMBOL(xfrm_sad_getinfo);
static int
xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl,
- struct xfrm_tmpl *tmpl,
+ const struct xfrm_tmpl *tmpl,
xfrm_address_t *daddr, xfrm_address_t *saddr,
unsigned short family)
{