xfrm: Mark flowi arg to xfrm_init_tempstate() const.
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 02:22:34 +0000 (18:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 02:22:34 +0000 (18:22 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c

index bffe83d9405940f9f3baa8a0c598e2aff9cea202..674f2780cedde397f2efd1c2f5c315e1e49aea10 100644 (file)
@@ -656,7 +656,7 @@ void xfrm_sad_getinfo(struct net *net, struct xfrmk_sadinfo *si)
 EXPORT_SYMBOL(xfrm_sad_getinfo);
 
 static int
-xfrm_init_tempstate(struct xfrm_state *x, struct flowi *fl,
+xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl,
                    struct xfrm_tmpl *tmpl,
                    xfrm_address_t *daddr, xfrm_address_t *saddr,
                    unsigned short family)