diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 06:14:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 08:07:38 +0100 |
commit | 5e6b930f21b0a442f9d5db97c8314b4d91be1c27 (patch) | |
tree | 035572d5908abe8092bae44befcc99720ab50a1b /net/ipv6/xfrm6_policy.c | |
parent | xfrm: Const'ify selector argument to xfrm_selector_match() (diff) | |
download | linux-5e6b930f21b0a442f9d5db97c8314b4d91be1c27.tar.xz linux-5e6b930f21b0a442f9d5db97c8314b4d91be1c27.zip |
xfrm: Const'ify address arguments to ->dst_lookup()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index f2fa904b8a91..c128ca1affe3 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -27,8 +27,8 @@ static struct xfrm_policy_afinfo xfrm6_policy_afinfo; static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, - xfrm_address_t *saddr, - xfrm_address_t *daddr) + const xfrm_address_t *saddr, + const xfrm_address_t *daddr) { struct flowi fl = {}; struct dst_entry *dst; |