skbuff: add and use skb_nfct helper
Followup patch renames skb->nfct and changes its type so add a helper to avoid intrusive rename change later. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:

committed by
Pablo Neira Ayuso

parent
97a6ad13de
commit
cb9c68363e
@@ -129,7 +129,7 @@ static u32 flow_get_mark(const struct sk_buff *skb)
|
||||
static u32 flow_get_nfct(const struct sk_buff *skb)
|
||||
{
|
||||
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
|
||||
return addr_fold(skb->nfct);
|
||||
return addr_fold(skb_nfct(skb));
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user