From: Florian Westphal <fw@strlen.de>
To: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Cc: Paul Blakey <paulb@mellanox.com>, Jiri Pirko <jiri@mellanox.com>,
Roi Dayan <roid@mellanox.com>,
Yossi Kuperman <yossiku@mellanox.com>,
Oz Shlomo <ozsh@mellanox.com>,
netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
Aaron Conole <aconole@redhat.com>, Zhike Wang <wangzhike@jd.com>,
Rony Efraim <ronye@mellanox.com>,
nst-kernel@redhat.com, John Hurley <john.hurley@netronome.com>,
Simon Horman <simon.horman@netronome.com>,
Justin Pettit <jpettit@ovn.org>
Subject: Re: [PATCH net-next v5 1/4] net/sched: Introduce action ct
Date: Mon, 8 Jul 2019 17:28:05 +0200 [thread overview]
Message-ID: <20190708152805.dul3kgu4csr64fqk@breakpoint.cc> (raw)
In-Reply-To: <20190708134208.GD3390@localhost.localdomain>
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> wrote:
> > + } else { /* NFPROTO_IPV6 */
> > + enum ip6_defrag_users user = IP6_DEFRAG_CONNTRACK_IN + zone;
> > +
> > + memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm));
> > + err = nf_ct_frag6_gather(net, skb, user);
>
> This doesn't build without IPv6 enabled.
> ERROR: "nf_ct_frag6_gather" [net/sched/act_ct.ko] undefined!
>
> We need to (copy and pasted):
>
> @@ -179,7 +179,9 @@ static int tcf_ct_handle_fragments(struct net *net, struct sk_buff *skb,
> local_bh_enable();
> if (err && err != -EINPROGRESS)
> goto out_free;
> - } else { /* NFPROTO_IPV6 */
> + }
> +#if IS_ENABLED(IPV6)
> + else { /* NFPROTO_IPV6 */
> enum ip6_defrag_users user = IP6_DEFRAG_CONNTRACK_IN + zone;
Good catch, but it should be
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
just like ovs conntrack.c ,
next prev parent reply other threads:[~2019-07-08 15:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-08 8:51 [PATCH net-next v5 0/4] net/sched: Introduce tc connection tracking Paul Blakey
2019-07-08 8:51 ` [PATCH net-next v5 1/4] net/sched: Introduce action ct Paul Blakey
2019-07-08 13:42 ` Marcelo Ricardo Leitner
2019-07-08 15:28 ` Florian Westphal [this message]
2019-07-09 7:00 ` Paul Blakey
2019-07-08 8:51 ` [PATCH net-next v5 2/4] net/flow_dissector: add connection tracking dissection Paul Blakey
2019-07-08 8:51 ` [PATCH net-next v5 3/4] net/sched: cls_flower: Add matching on conntrack info Paul Blakey
2019-07-08 8:51 ` [PATCH net-next v5 4/4] tc-tests: Add tc action ct tests Paul Blakey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190708152805.dul3kgu4csr64fqk@breakpoint.cc \
--to=fw@strlen.de \
--cc=aconole@redhat.com \
--cc=davem@davemloft.net \
--cc=jiri@mellanox.com \
--cc=john.hurley@netronome.com \
--cc=jpettit@ovn.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nst-kernel@redhat.com \
--cc=ozsh@mellanox.com \
--cc=paulb@mellanox.com \
--cc=roid@mellanox.com \
--cc=ronye@mellanox.com \
--cc=simon.horman@netronome.com \
--cc=wangzhike@jd.com \
--cc=yossiku@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).