[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180528194902.kooqoao3agt32nls@salvia>
Date: Mon, 28 May 2018 21:49:02 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Toke Høiland-Jørgensen <toke@...e.dk>
Cc: netdev@...r.kernel.org, cake@...ts.bufferbloat.net,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb
callback
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.
Thanks.
Powered by blists - more mailing lists