From: David S. Miller Date: Wed, 23 Feb 2011 02:22:34 +0000 (-0800) Subject: xfrm: Mark flowi arg to xfrm_init_tempstate() const. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a898592b2bde7b109e121ccb7498d40396fb5c7;p=linux-beck.git xfrm: Mark flowi arg to xfrm_init_tempstate() const. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index bffe83d94059..674f2780cedd 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -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)