Browse Source

xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 14 years ago
parent
commit
046860138e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/xfrm/xfrm_state.c

+ 1 - 1
net/xfrm/xfrm_state.c

@@ -658,7 +658,7 @@ EXPORT_SYMBOL(xfrm_sad_getinfo);
 
 
 static int
 static int
 xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl,
 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,
 		    xfrm_address_t *daddr, xfrm_address_t *saddr,
 		    unsigned short family)
 		    unsigned short family)
 {
 {