From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.us.es (mail.us.es [193.147.175.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id E69763B2A4 for ; Mon, 28 May 2018 15:49:08 -0400 (EDT) Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id B8CB211481B for ; Mon, 28 May 2018 21:47:57 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id A8761DA73F for ; Mon, 28 May 2018 21:47:57 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id 9DFD4DA727; Mon, 28 May 2018 21:47:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 940B8DA73F; Mon, 28 May 2018 21:47:55 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Mon, 28 May 2018 21:47:55 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (sys.soleta.eu [212.170.55.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id 73A9A4265A4E; Mon, 28 May 2018 21:47:55 +0200 (CEST) Date: Mon, 28 May 2018 21:49:02 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= Cc: netdev@vger.kernel.org, cake@lists.bufferbloat.net, netfilter-devel@vger.kernel.org Message-ID: <20180528194902.kooqoao3agt32nls@salvia> References: <152751762093.30935.15398977119837536494.stgit@alrua-kau> <152751766686.30935.14644567905547700823.stgit@alrua-kau> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <152751766686.30935.14644567905547700823.stgit@alrua-kau> User-Agent: NeoMutt/20170113 (1.7.2) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Mon, 28 May 2018 17:15:58 -0400 Subject: Re: [Cake] [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb callback X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 19:49:09 -0000 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.