xfrm: Const'ify address arguments to ->dst_lookup()

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2011-02-24 00:14:45 -05:00
parent 200ce96e56
commit 5e6b930f21
3 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@
static struct xfrm_policy_afinfo xfrm4_policy_afinfo;
static struct dst_entry *xfrm4_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 = {
.fl4_dst = daddr->a4,