Re: [PATCH nf 1/2] netfilter: add nf_{tcp,udp,sctp,icmp,dccp,icmpv6,generic}_pernet()

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

 



Hi Pablo,

I love your patch! Yet something to improve:

[auto build test ERROR on nf/master]

url:    https://github.com/0day-ci/linux/commits/Pablo-Neira-Ayuso/netfilter-add-nf_-tcp-udp-sctp-icmp-dccp-icmpv6-generic-_pernet/20181102-101813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git master
config: i386-randconfig-sb0-11021406 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from net//netfilter/nf_conntrack_proto_generic.c:14:0:
   include/net/netfilter/nf_conntrack_timeout.h: In function 'nf_dccp_pernet':
>> include/net/netfilter/nf_conntrack_timeout.h:114:29: error: 'struct nf_ip_net' has no member named 'dccp'
     return &net->ct.nf_ct_proto.dccp;
                                ^
   include/net/netfilter/nf_conntrack_timeout.h: In function 'nf_sctp_pernet':
>> include/net/netfilter/nf_conntrack_timeout.h:119:29: error: 'struct nf_ip_net' has no member named 'sctp'
     return &net->ct.nf_ct_proto.sctp;
                                ^

vim +114 include/net/netfilter/nf_conntrack_timeout.h

   111	
   112	static inline struct nf_dccp_net *nf_dccp_pernet(struct net *net)
   113	{
 > 114		return &net->ct.nf_ct_proto.dccp;
   115	}
   116	
   117	static inline struct nf_sctp_net *nf_sctp_pernet(struct net *net)
   118	{
 > 119		return &net->ct.nf_ct_proto.sctp;
   120	}
   121	

---
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