[Cake] [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb callback
Toke Høiland-Jørgensen
toke at toke.dk
Mon May 28 17:28:41 EDT 2018
Pablo Neira Ayuso <pablo at netfilter.org> writes:
> On Mon, May 28, 2018 at 04:27:46PM +0200, Toke Høiland-Jørgensen wrote:
> [...]
>> diff --git a/net/netfilter/core.c b/net/netfilter/core.c
>> index 0f6b8172fb9a..520565198f0e 100644
>> --- a/net/netfilter/core.c
>> +++ b/net/netfilter/core.c
>> @@ -572,6 +572,27 @@ void nf_conntrack_destroy(struct nf_conntrack *nfct)
>> }
>> EXPORT_SYMBOL(nf_conntrack_destroy);
>>
>> +bool (*skb_ct_get_tuple)(struct nf_conntrack_tuple *,
>> + const struct sk_buff *) __rcu __read_mostly;
>> +EXPORT_SYMBOL(skb_ct_get_tuple);
>
> Now we have struct nf_ct_hook in net-next, please add ->get_tuple to
> that new object.
Ah, right, will do :)
-Toke
More information about the Cake
mailing list