diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 00:14:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 02:07:38 -0500 |
commit | 5e6b930f21b0a442f9d5db97c8314b4d91be1c27 (patch) | |
tree | 035572d5908abe8092bae44befcc99720ab50a1b /net/ipv4/xfrm4_policy.c | |
parent | 200ce96e5601391a6d97c87067edf21fa94fb74e (diff) |
xfrm: Const'ify address arguments to ->dst_lookup()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
-rw-r--r-- | net/ipv4/xfrm4_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c index 1e9844d1f8c5..63aa88efdcef 100644 --- a/net/ipv4/xfrm4_policy.c +++ b/net/ipv4/xfrm4_policy.c | |||
@@ -19,8 +19,8 @@ | |||
19 | static struct xfrm_policy_afinfo xfrm4_policy_afinfo; | 19 | static struct xfrm_policy_afinfo xfrm4_policy_afinfo; |
20 | 20 | ||
21 | static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, | 21 | static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, |
22 | xfrm_address_t *saddr, | 22 | const xfrm_address_t *saddr, |
23 | xfrm_address_t *daddr) | 23 | const xfrm_address_t *daddr) |
24 | { | 24 | { |
25 | struct flowi fl = { | 25 | struct flowi fl = { |
26 | .fl4_dst = daddr->a4, | 26 | .fl4_dst = daddr->a4, |