mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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:
parent
b4b7c0b389
commit
0b597e7edf
@ -894,7 +894,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type,
|
||||
{
|
||||
int err;
|
||||
struct xfrm_policy *pol, *ret;
|
||||
xfrm_address_t *daddr, *saddr;
|
||||
const xfrm_address_t *daddr, *saddr;
|
||||
struct hlist_node *entry;
|
||||
struct hlist_head *chain;
|
||||
u32 priority = ~0U;
|
||||
|
Loading…
Reference in New Issue
Block a user