summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-23 03:21:31 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-23 03:21:31 +0100
commit4a08ab0fe424925352729f1c99b39b1ed876fb14 (patch)
tree8d3894d5ee3a131ae754e451c9c38a480153595f /net/xfrm
parentxfrm: Mark flowi arg to security_xfrm_state_pol_flow_match() const. (diff)
downloadlinux-4a08ab0fe424925352729f1c99b39b1ed876fb14.tar.xz
linux-4a08ab0fe424925352729f1c99b39b1ed876fb14.zip
xfrm: Mark flowi arg to xfrm_state_look_at() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
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)