aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 00:16:53 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-23 23:07:39 -0800
commit6418c4e07991a7b405d86bd4579c670b50fec99d (patch)
tree6fac3cf69e9b813f002e2dfcfefc0fbb08135211 /net/xfrm/xfrm_policy.c
parent5e6b930f21b0a442f9d5db97c8314b4d91be1c27 (diff)
downloadkernel_samsung_tuna-6418c4e07991a7b405d86bd4579c670b50fec99d.zip
kernel_samsung_tuna-6418c4e07991a7b405d86bd4579c670b50fec99d.tar.gz
kernel_samsung_tuna-6418c4e07991a7b405d86bd4579c670b50fec99d.tar.bz2
xfrm: Const'ify address arguments to __xfrm_dst_lookup()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 4827c8d..5f19ae6 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -92,8 +92,8 @@ int xfrm_selector_match(const struct xfrm_selector *sel, const struct flowi *fl,
}
static inline struct dst_entry *__xfrm_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,
int family)
{
struct xfrm_policy_afinfo *afinfo;