summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 01:50:12 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-23 23:07:48 -0800
commit046860138e3f244d19e59c4fb1ef637803f3abbf (patch)
treed46797540a9d8462c9e7022a478192ad488c89c3 /net
parent2ab38503d0dff932cb657d8ef6055f28910ac0ef (diff)
downloadlinux-046860138e3f244d19e59c4fb1ef637803f3abbf.tar.bz2
xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-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)
{