Re: [PATCH nf-next v9] 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/20180724-145908
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: i386-randconfig-x077-201829 (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=i386 

All errors (new ones prefixed by >>):

   net//netfilter/nft_ct.c: In function 'nft_ct_timeout_obj_destroy':
>> net//netfilter/nft_ct.c:897:3: error: implicit declaration of function 'nf_ct_untimeout'; did you mean 'nf_ct_netns_put'? [-Werror=implicit-function-declaration]
      nf_ct_untimeout(ctx->net, priv->timeout);
      ^~~~~~~~~~~~~~~
      nf_ct_netns_put
   cc1: some warnings being treated as errors

vim +897 net//netfilter/nft_ct.c

   886	
   887	static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx,
   888					       struct nft_object *obj)
   889	{
   890		struct nft_ct_timeout_obj *priv = nft_obj_data(obj);
   891	
   892		nf_ct_tmpl_free(priv->tmpl);
   893	
   894		if (refcount_dec_if_one(&priv->timeout->refcnt)) {
   895			nf_ct_l4proto_put(priv->timeout->l4proto);
   896			list_del_rcu(&priv->timeout->head);
 > 897			nf_ct_untimeout(ctx->net, priv->timeout);
   898		}
   899	}
   900	

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