From: Pablo Neira Ayuso <pablo@netfilter.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH nf] netfilter: nf_tables: GC transaction race with abort path
Date: Mon, 21 Aug 2023 13:46:37 +0200 [thread overview]
Message-ID: <ZONOnd6e5feLmbTF@calendula> (raw)
In-Reply-To: <202308211920.N6b62UHQ-lkp@intel.com>
Hi,
On Mon, Aug 21, 2023 at 07:28:13PM +0800, kernel test robot wrote:
> Hi Pablo,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on nf/master]
nf.git tree has no master branch, but it has a main branch.
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/log/?h=main
This report does not say what tree is beind used but it still looks
like this is the wrong tree.
> url: https://github.com/intel-lab-lkp/linux/commits/Pablo-Neira-Ayuso/netfilter-nf_tables-GC-transaction-race-with-abort-path/20230818-071545
> base: master
> patch link: https://lore.kernel.org/r/20230817231352.8412-1-pablo%40netfilter.org
> patch subject: [PATCH nf] netfilter: nf_tables: GC transaction race with abort path
> config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20230821/202308211920.N6b62UHQ-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20230821/202308211920.N6b62UHQ-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202308211920.N6b62UHQ-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> net/netfilter/nf_tables_api.c: In function 'nf_tables_abort':
> >> net/netfilter/nf_tables_api.c:9132:18: error: implicit declaration of function 'nft_gc_seq_begin' [-Werror=implicit-function-declaration]
> 9132 | gc_seq = nft_gc_seq_begin(nft_net);
> | ^~~~~~~~~~~~~~~~
> >> net/netfilter/nf_tables_api.c:9134:9: error: implicit declaration of function 'nft_gc_seq_end'; did you mean 'nft_get_set_elem'? [-Werror=implicit-function-declaration]
> 9134 | nft_gc_seq_end(nft_net, gc_seq);
> | ^~~~~~~~~~~~~~
> | nft_get_set_elem
> cc1: some warnings being treated as errors
>
>
> vim +/nft_gc_seq_begin +9132 net/netfilter/nf_tables_api.c
>
> 9124
> 9125 static int nf_tables_abort(struct net *net, struct sk_buff *skb,
> 9126 enum nfnl_abort_action action)
> 9127 {
> 9128 struct nftables_pernet *nft_net = nft_pernet(net);
> 9129 unsigned int gc_seq;
> 9130 int ret;
> 9131
> > 9132 gc_seq = nft_gc_seq_begin(nft_net);
> 9133 ret = __nf_tables_abort(net, action);
> > 9134 nft_gc_seq_end(nft_net, gc_seq);
> 9135 mutex_unlock(&nft_net->commit_mutex);
> 9136
> 9137 return ret;
> 9138 }
> 9139
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2023-08-21 11:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 23:13 [PATCH nf] netfilter: nf_tables: GC transaction race with abort path Pablo Neira Ayuso
2023-08-18 7:48 ` kernel test robot
2023-08-18 9:09 ` Pablo Neira Ayuso
2023-08-21 2:20 ` Liu, Yujie
2023-08-21 11:28 ` kernel test robot
2023-08-21 11:46 ` Pablo Neira Ayuso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZONOnd6e5feLmbTF@calendula \
--to=pablo@netfilter.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.