[nf-next:master 18/28] net/ipv4/netfilter/nf_defrag_ipv4.c:110: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:   7464293d4266a7b29565a4705d3fb2339350f9e2
commit: 018914b2c913bcc9c571ae5a781280c76a15ddad [18/28] netfilter: defrag: only register defrag functionality if needed
config: i386-randconfig-i1-201649 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        git checkout 018914b2c913bcc9c571ae5a781280c76a15ddad
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/ipv4/netfilter/nf_defrag_ipv4.c: In function 'defrag4_net_exit':
>> net/ipv4/netfilter/nf_defrag_ipv4.c:110:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv4) {
            ^
   net/ipv4/netfilter/nf_defrag_ipv4.c:113:6: error: 'struct net' has no member named 'ct'
      net->ct.defrag_ipv4 = false;
         ^
   net/ipv4/netfilter/nf_defrag_ipv4.c: In function 'nf_defrag_ipv4_enable':
   net/ipv4/netfilter/nf_defrag_ipv4.c:137:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv4)
            ^
   net/ipv4/netfilter/nf_defrag_ipv4.c:141:9: error: 'struct net' has no member named 'ct'
     if (net->ct.defrag_ipv4)
            ^
   net/ipv4/netfilter/nf_defrag_ipv4.c:147:6: error: 'struct net' has no member named 'ct'
      net->ct.defrag_ipv4 = true;
         ^

vim +110 net/ipv4/netfilter/nf_defrag_ipv4.c

   104			.priority       = NF_IP_PRI_CONNTRACK_DEFRAG,
   105		},
   106	};
   107	
   108	static void __net_exit defrag4_net_exit(struct net *net)
   109	{
 > 110		if (net->ct.defrag_ipv4) {
   111			nf_unregister_net_hooks(net, ipv4_defrag_ops,
   112						ARRAY_SIZE(ipv4_defrag_ops));
   113			net->ct.defrag_ipv4 = 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]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux