net: use skb_sec_path helper in more places
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Dec 2018 16:15:20 +0000 (17:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 19:21:37 +0000 (11:21 -0800)
commit2294be0f11e22b6197d025e5d3ab42888879ec4e
treef4e97bbe3475fa69f3100520f6d98f2d711ff852
parent7af8f4ca314a592e2ba49cb5ea1de1325974998e
net: use skb_sec_path helper in more places

skb_sec_path gains 'const' qualifier to avoid
xt_policy.c: 'skb_sec_path' discards 'const' qualifier from pointer target type

same reasoning as previous conversions: Won't need to touch these
spots anymore when skb->sp is removed.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/linux/skbuff.h
include/net/xfrm.h
net/ipv4/esp4.c
net/ipv4/esp4_offload.c
net/ipv6/esp6.c
net/ipv6/esp6_offload.c
net/ipv6/xfrm6_input.c
net/netfilter/nft_xfrm.c
net/netfilter/xt_policy.c
net/xfrm/xfrm_device.c
net/xfrm/xfrm_input.c
net/xfrm/xfrm_policy.c
security/selinux/xfrm.c