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 /include/net/xfrm.h | |
parent | 200ce96e5601391a6d97c87067edf21fa94fb74e (diff) |
xfrm: Const'ify address arguments to ->dst_lookup()
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 567f08b559a1..18f115a6fb19 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -267,8 +267,8 @@ struct xfrm_policy_afinfo { | |||
267 | struct dst_ops *dst_ops; | 267 | struct dst_ops *dst_ops; |
268 | void (*garbage_collect)(struct net *net); | 268 | void (*garbage_collect)(struct net *net); |
269 | struct dst_entry *(*dst_lookup)(struct net *net, int tos, | 269 | struct dst_entry *(*dst_lookup)(struct net *net, int tos, |
270 | xfrm_address_t *saddr, | 270 | const xfrm_address_t *saddr, |
271 | xfrm_address_t *daddr); | 271 | const xfrm_address_t *daddr); |
272 | int (*get_saddr)(struct net *net, xfrm_address_t *saddr, xfrm_address_t *daddr); | 272 | int (*get_saddr)(struct net *net, xfrm_address_t *saddr, xfrm_address_t *daddr); |
273 | void (*decode_session)(struct sk_buff *skb, | 273 | void (*decode_session)(struct sk_buff *skb, |
274 | struct flowi *fl, | 274 | struct flowi *fl, |