xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2011-02-24 01:22:48 -05:00
parent b4b7c0b389
commit 0b597e7edf

View file

@ -894,7 +894,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type,
{ {
int err; int err;
struct xfrm_policy *pol, *ret; struct xfrm_policy *pol, *ret;
xfrm_address_t *daddr, *saddr; const xfrm_address_t *daddr, *saddr;
struct hlist_node *entry; struct hlist_node *entry;
struct hlist_head *chain; struct hlist_head *chain;
u32 priority = ~0U; u32 priority = ~0U;