diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 21:21:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 21:21:31 -0500 |
commit | 4a08ab0fe424925352729f1c99b39b1ed876fb14 (patch) | |
tree | 8d3894d5ee3a131ae754e451c9c38a480153595f /net/xfrm/xfrm_state.c | |
parent | e33f770426674a565a188042caf3f974f8b3722d (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.c | 2 |
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 | ||
748 | static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x, | 748 | static 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) |