diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 06:55:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 07:08:47 (GMT) |
commit | 33765d06033cc4ba4d9ae6d3d606ef3f28773c1b (patch) | |
tree | 339157eaabfc9659b264754a55b7e663c87658f7 /include/net/xfrm.h | |
parent | 1f673c5fe2eca9007e60d82186473aa94090ea4c (diff) | |
download | linux-33765d06033cc4ba4d9ae6d3d606ef3f28773c1b.tar.xz |
xfrm: Const'ify xfrm_address_t args to xfrm_state_find.
This required a const'ification in xfrm_init_tempstate() too.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 3205e5e..44dccfc 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -1334,8 +1334,8 @@ extern int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk, int (*func)(struct xfrm_state *, int, void*), void *); extern void xfrm_state_walk_done(struct xfrm_state_walk *walk); extern struct xfrm_state *xfrm_state_alloc(struct net *net); -extern struct xfrm_state *xfrm_state_find(xfrm_address_t *daddr, - xfrm_address_t *saddr, +extern struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr, + const xfrm_address_t *saddr, const struct flowi *fl, struct xfrm_tmpl *tmpl, struct xfrm_policy *pol, int *err, |