aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-22 21:21:31 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-22 21:21:31 -0500
commit4a08ab0fe424925352729f1c99b39b1ed876fb14 (patch)
tree8d3894d5ee3a131ae754e451c9c38a480153595f /net/xfrm/xfrm_state.c
parente33f770426674a565a188042caf3f974f8b3722d (diff)
xfrm: Mark flowi arg to xfrm_state_look_at() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-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)
746} 746}
747 747
748static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x, 748static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x,
749 struct flowi *fl, unsigned short family, 749 const struct flowi *fl, unsigned short family,
750 xfrm_address_t *daddr, xfrm_address_t *saddr, 750 xfrm_address_t *daddr, xfrm_address_t *saddr,
751 struct xfrm_state **best, int *acq_in_progress, 751 struct xfrm_state **best, int *acq_in_progress,
752 int *error) 752 int *error)