xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 06:50:12 +0000 (01:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 07:07:48 +0000 (23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c

index 0383d83555d582d643d62ffc7d57a6dae388112c..ac6c48a486e40d48371440ea243d900ec2e42728 100644 (file)
@@ -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)
 {