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-x077-201843 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
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_core.c:50:0:
   include/net/netfilter/nf_conntrack_timeout.h: In function 'nf_dccp_pernet':
>> include/net/netfilter/nf_conntrack_timeout.h:114:30: error: 'struct nf_ip_net' has no member named 'dccp'; did you mean 'tcp'?
     return &net->ct.nf_ct_proto.dccp;
                                 ^~~~
                                 tcp
   include/net/netfilter/nf_conntrack_timeout.h: In function 'nf_sctp_pernet':
>> include/net/netfilter/nf_conntrack_timeout.h:119:30: error: 'struct nf_ip_net' has no member named 'sctp'; did you mean 'tcp'?
     return &net->ct.nf_ct_proto.sctp;
                                 ^~~~
                                 tcp

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