Re: [PATCH nf-next v6] netfilter: nft_ct: add ct timeout support

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

 



Hi Harsha,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on nf-next/master]

url:    https://github.com/0day-ci/linux/commits/Harsha-Sharma/netfilter-nft_ct-add-ct-timeout-support/20180706-074958
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: x86_64-fedora-25 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> net/netfilter/nft_ct.c:1114:11: error: 'nft_ct_timeout_obj_eval' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_ops'?
     .eval  = nft_ct_timeout_obj_eval,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_ops
>> net/netfilter/nft_ct.c:1115:11: error: 'nft_ct_timeout_obj_init' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_eval'?
     .init  = nft_ct_timeout_obj_init,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_eval
>> net/netfilter/nft_ct.c:1116:13: error: 'nft_ct_timeout_obj_destroy' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_init'?
     .destroy = nft_ct_timeout_obj_destroy,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                nft_ct_timeout_obj_init
>> net/netfilter/nft_ct.c:1117:11: error: 'nft_ct_timeout_obj_dump' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_init'?
     .dump  = nft_ct_timeout_obj_dump,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_init

vim +1114 net/netfilter/nft_ct.c

  1109	
  1110	static struct nft_object_type nft_ct_timeout_obj_type;
  1111	static const struct nft_object_ops nft_ct_timeout_obj_ops = {
  1112		.type		= &nft_ct_timeout_obj_type,
  1113		.size		= sizeof(struct nft_ct_timeout_obj),
> 1114		.eval		= nft_ct_timeout_obj_eval,
> 1115		.init		= nft_ct_timeout_obj_init,
> 1116		.destroy	= nft_ct_timeout_obj_destroy,
> 1117		.dump		= nft_ct_timeout_obj_dump,
  1118	};
  1119	

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