diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 06:07:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 08:07:37 +0100 |
commit | 19bd62441c36279ab33e311faebd357ef04ba344 (patch) | |
tree | d9666f25d4212876d7feb0d75303ac246c8846ef /net/ipv6/xfrm6_state.c | |
parent | xfrm: Pass km_event pointers around as const when possible. (diff) | |
download | linux-19bd62441c36279ab33e311faebd357ef04ba344.tar.xz linux-19bd62441c36279ab33e311faebd357ef04ba344.zip |
xfrm: Const'ify tmpl and address arguments to ->init_temprop()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_state.c')
-rw-r--r-- | net/ipv6/xfrm6_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_state.c b/net/ipv6/xfrm6_state.c index 68a14c0339db..a02598e0079a 100644 --- a/net/ipv6/xfrm6_state.c +++ b/net/ipv6/xfrm6_state.c @@ -38,8 +38,8 @@ __xfrm6_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) } static void -xfrm6_init_temprop(struct xfrm_state *x, struct xfrm_tmpl *tmpl, - xfrm_address_t *daddr, xfrm_address_t *saddr) +xfrm6_init_temprop(struct xfrm_state *x, const struct xfrm_tmpl *tmpl, + const xfrm_address_t *daddr, const xfrm_address_t *saddr) { x->id = tmpl->id; if (ipv6_addr_any((struct in6_addr*)&x->id.daddr)) |