diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 21:24:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 21:24:19 -0500 |
commit | b520e9f616f4f29c8d2557ba704b74ce6d79ff07 (patch) | |
tree | 6d423a4be60b1c1a54cc5546843336b9f1c858c7 /include/net/xfrm.h | |
parent | 1a898592b2bde7b109e121ccb7498d40396fb5c7 (diff) |
xfrm: Mark flowi arg to xfrm_state_find() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index b965ad795b60..bb824a5d71bf 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -1328,8 +1328,10 @@ extern int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk, | |||
1328 | int (*func)(struct xfrm_state *, int, void*), void *); | 1328 | int (*func)(struct xfrm_state *, int, void*), void *); |
1329 | extern void xfrm_state_walk_done(struct xfrm_state_walk *walk); | 1329 | extern void xfrm_state_walk_done(struct xfrm_state_walk *walk); |
1330 | extern struct xfrm_state *xfrm_state_alloc(struct net *net); | 1330 | extern struct xfrm_state *xfrm_state_alloc(struct net *net); |
1331 | extern struct xfrm_state *xfrm_state_find(xfrm_address_t *daddr, xfrm_address_t *saddr, | 1331 | extern struct xfrm_state *xfrm_state_find(xfrm_address_t *daddr, |
1332 | struct flowi *fl, struct xfrm_tmpl *tmpl, | 1332 | xfrm_address_t *saddr, |
1333 | const struct flowi *fl, | ||
1334 | struct xfrm_tmpl *tmpl, | ||
1333 | struct xfrm_policy *pol, int *err, | 1335 | struct xfrm_policy *pol, int *err, |
1334 | unsigned short family); | 1336 | unsigned short family); |
1335 | extern struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark, | 1337 | extern struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark, |