diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 01:22:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 02:07:43 -0500 |
commit | 0b597e7edfd865cce7b18e71989a992ad0ca898e (patch) | |
tree | 6ed3d0643e58afc6b3502f36f0833a675c11d45a /net/xfrm/xfrm_policy.c | |
parent | b4b7c0b389131c34b6c3a6bf3f3c4d17fe59155f (diff) |
xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 0c503be3260c..d09766893d18 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -894,7 +894,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, | |||
894 | { | 894 | { |
895 | int err; | 895 | int err; |
896 | struct xfrm_policy *pol, *ret; | 896 | struct xfrm_policy *pol, *ret; |
897 | xfrm_address_t *daddr, *saddr; | 897 | const xfrm_address_t *daddr, *saddr; |
898 | struct hlist_node *entry; | 898 | struct hlist_node *entry; |
899 | struct hlist_head *chain; | 899 | struct hlist_head *chain; |
900 | u32 priority = ~0U; | 900 | u32 priority = ~0U; |