net: move secpath_exist helper to sk_buff.h
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Dec 2018 16:15:19 +0000 (17:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 19:21:37 +0000 (11:21 -0800)
commit7af8f4ca314a592e2ba49cb5ea1de1325974998e
treed5c8d8986c2ca44f3e4c4274b927bae8caa2a00d
parent0ca64da128b816b2826e9b469f47239c47f1df31
net: move secpath_exist helper to sk_buff.h

Future patch will remove skb->sp pointer.
To reduce noise in those patches, move existing helper to
sk_buff and use it in more places to ease skb->sp replacement later.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/xfrm.h
net/netfilter/nft_meta.c