xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.
Subsystems (3)
David Miller
maintainerPATCH 12/26 xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.
Signed-off-by David S. Miller <[email protected]>
--- net/xfrm/xfrm_policy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/xfrm/xfrm_policy.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.4.1