[nf-next:master 18/48] net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:94:9: error: 'struct net' has no member named 'ct'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head:   34d360415a921406e622f60e202892af8cf4c57b
commit: 018914b2c913bcc9c571ae5a781280c76a15ddad [18/48] netfilter: defrag: only register defrag functionality if needed
config: x86_64-randconfig-h0-12062249 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 018914b2c913bcc9c571ae5a781280c76a15ddad
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the nf-next/master HEAD 34d360415a921406e622f60e202892af8cf4c57b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c: In function 'defrag6_net_exit':
>> net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:94:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv6) {
            ^
   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:97:6: error: 'struct net' has no member named 'ct'
      net->ct.defrag_ipv6 = false;
         ^
   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c: In function 'nf_defrag_ipv6_enable':
   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:139:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv6)
            ^
   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:143:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv6)
            ^
   net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:149:6: error: 'struct net' has no member named 'ct'
      net->ct.defrag_ipv6 = true;
         ^

vim +94 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c

    88			.priority	= NF_IP6_PRI_CONNTRACK_DEFRAG,
    89		},
    90	};
    91	
    92	static void __net_exit defrag6_net_exit(struct net *net)
    93	{
  > 94		if (net->ct.defrag_ipv6) {
    95			nf_unregister_net_hooks(net, ipv6_defrag_ops,
    96						ARRAY_SIZE(ipv6_defrag_ops));
    97			net->ct.defrag_ipv6 = false;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux