From: David S. Miller Date: Wed, 23 Feb 2011 02:21:31 +0000 (-0800) Subject: xfrm: Mark flowi arg to xfrm_state_look_at() const. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a08ab0fe424925352729f1c99b39b1ed876fb14;p=linux-beck.git xfrm: Mark flowi arg to xfrm_state_look_at() const. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 220ebc05c7af..bffe83d94059 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -746,7 +746,7 @@ static void xfrm_hash_grow_check(struct net *net, int have_hash_collision) } static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x, - struct flowi *fl, unsigned short family, + const struct flowi *fl, unsigned short family, xfrm_address_t *daddr, xfrm_address_t *saddr, struct xfrm_state **best, int *acq_in_progress, int *error)