> On Sun, 07 Dec 2025 17:06:40 +0100 Lorenzo Bianconi wrote:
> > Introduce SW acceleration for IP6IP6 tunnels in the netfilter flowtable
> > infrastructure.
> 
> tc-testing build fails with this:
> 
> net/netfilter/nf_flow_table_ip.c: In function ‘nf_flow_ip6_tunnel_proto’:
> net/netfilter/nf_flow_table_ip.c:370:42: error: ‘inet6_protos’ undeclared 
> (first use in this function); did you mean ‘inet_protos’?
>   370 |                 ipprot = rcu_dereference(inet6_protos[nexthdr]);
>       |                                          ^~~~~~~~~~~~
> ./include/linux/rcupdate.h:532:17: note: in definition of macro 
> ‘__rcu_dereference_check’
>   532 |         typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
>       |                 ^
> ./include/linux/rcupdate.h:770:28: note: in expansion of macro 
> ‘rcu_dereference_check’
>   770 | #define rcu_dereference(p) rcu_dereference_check(p, 0)
>       |                            ^~~~~~~~~~~~~~~~~~~~~
> net/netfilter/nf_flow_table_ip.c:370:26: note: in expansion of macro 
> ‘rcu_dereference’
>   370 |                 ipprot = rcu_dereference(inet6_protos[nexthdr]);
>       |                          ^~~~~~~~~~~~~~~
> net/netfilter/nf_flow_table_ip.c:370:42: note: each undeclared identifier is 
> reported only once for each function it appears in
>   370 |                 ipprot = rcu_dereference(inet6_protos[nexthdr]);
>       |                                          ^~~~~~~~~~~~
> ./include/linux/rcupdate.h:532:17: note: in definition of macro 
> ‘__rcu_dereference_check’
>   532 |         typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
>       |                 ^
> ./include/linux/rcupdate.h:770:28: note: in expansion of macro 
> ‘rcu_dereference_check’
>   770 | #define rcu_dereference(p) rcu_dereference_check(p, 0)
>       |                            ^~~~~~~~~~~~~~~~~~~~~
> net/netfilter/nf_flow_table_ip.c:370:26: note: in expansion of macro 
> ‘rcu_dereference’
>   370 |                 ipprot = rcu_dereference(inet6_protos[nexthdr]);
>       |                          ^~~~~~~~~~~~~~~
> net/netfilter/nf_flow_table_ip.c:374:27: error: invalid use of undefined type 
> ‘const struct inet6_protocol’
>   374 |                 if (ipprot->flags & INET6_PROTO_FINAL) {
>       |                           ^~
> net/netfilter/nf_flow_table_ip.c:374:37: error: ‘INET6_PROTO_FINAL’ 
> undeclared (first use in this function)
>   374 |                 if (ipprot->flags & INET6_PROTO_FINAL) {
>       |                                     ^~~~~~~~~~~~~~~~~
> net/netfilter/nf_flow_table_ip.c:383:29: error: invalid use of undefined type 
> ‘const struct inet6_protocol’
>   383 |                 ret = ipprot->handler(skb);
>       |                             ^~

Hi Jakub,

I guess CONFIG_IPV6 is not enabled, right? I will fix it.

Regards,
Lorenzo

Attachment: signature.asc
Description: PGP signature

Reply via email to