Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b597e7e authored by David S. Miller's avatar David S. Miller
Browse files

xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.

parent b4b7c0b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;