On Mon, Feb 14, 2022 at 7:19 PM kernel test robot <lkp(a)intel.com> wrote:
Hi Willem,
Thank you for the patch! Perhaps something to improve:
In file included from net/sched/cls_flow.c:24:
In file included from include/net/ip.h:30:
In file included from include/net/route.h:24:
In file included from include/net/inetpeer.h:16:
include/net/ipv6.h:403:30: error: no member named 'ipv6' in 'struct
net'
READ_ONCE(sock_net(sk)->ipv6.flowlabel_has_excl))
I'll wrap the whole function in IS_ENABLED(CONFIG_IPV6).
fl6_sock_lookup is only called from code in .c files that are
conditional on CONFIG_IPV6.