From: kernel test robot <lkp@intel.com>
To: Florian Westphal <fw@strlen.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC nf-next 08/11] netfilter: conntrack: make nf_conntrack hash table pernet
Date: Sat, 8 Nov 2025 00:05:21 +0800 [thread overview]
Message-ID: <202511072353.gCeACgfc-lkp@intel.com> (raw)
In-Reply-To: <20251105164805.3992-9-fw@strlen.de>
Hi Florian,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20251105]
[cannot apply to nf-next/master netfilter-nf/main linus/master horms-ipvs/master v6.18-rc4 v6.18-rc3 v6.18-rc2 v6.18-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Florian-Westphal/netfilter-netns-nf_conntrack-per-netns-net-netfilter-nf_conntrack_max-sysctl/20251106-014030
base: next-20251105
patch link: https://lore.kernel.org/r/20251105164805.3992-9-fw%40strlen.de
patch subject: [RFC nf-next 08/11] netfilter: conntrack: make nf_conntrack hash table pernet
config: s390-randconfig-001-20251107 (https://download.01.org/0day-ci/archive/20251107/202511072353.gCeACgfc-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251107/202511072353.gCeACgfc-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/202511072353.gCeACgfc-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/net/netfilter/nf_conntrack_zones.h:6,
from net/openvswitch/flow.c:38:
include/net/netfilter/nf_conntrack.h: In function 'nf_conntrack_get_ht':
include/net/netfilter/nf_conntrack.h:363:12: error: 'struct net' has no member named 'ct'
hsz = net->ct.nf_conntrack_htable_size;
^~
include/net/netfilter/nf_conntrack.h:364:13: error: 'struct net' has no member named 'ct'
hptr = net->ct.nf_conntrack_hash;
^~
include/net/netfilter/nf_conntrack.h: In function 'nf_conntrack_max':
>> include/net/netfilter/nf_conntrack.h:397:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OF_GPIO
Depends on [n]: GPIOLIB [=y] && OF [=y] && HAS_IOMEM [=n]
Selected by [m]:
- REGULATOR_RT5133 [=m] && REGULATOR [=y] && I2C [=m] && GPIOLIB [=y] && OF [=y]
vim +397 include/net/netfilter/nf_conntrack.h
9fb9cbb1082d6b Yasuyuki Kozakai 2005-11-09 352
92e47ba8839bac Liping Zhang 2016-08-13 353 /* must be called with rcu read lock held */
92e47ba8839bac Liping Zhang 2016-08-13 354 static inline void
eca18b74271e4e Florian Westphal 2025-11-05 355 nf_conntrack_get_ht(struct net *net, struct hlist_nulls_head **hash,
eca18b74271e4e Florian Westphal 2025-11-05 356 unsigned int *hsize)
92e47ba8839bac Liping Zhang 2016-08-13 357 {
92e47ba8839bac Liping Zhang 2016-08-13 358 struct hlist_nulls_head *hptr;
92e47ba8839bac Liping Zhang 2016-08-13 359 unsigned int sequence, hsz;
92e47ba8839bac Liping Zhang 2016-08-13 360
92e47ba8839bac Liping Zhang 2016-08-13 361 do {
92e47ba8839bac Liping Zhang 2016-08-13 362 sequence = read_seqcount_begin(&nf_conntrack_generation);
193325b9852e29 Florian Westphal 2025-11-05 @363 hsz = net->ct.nf_conntrack_htable_size;
eca18b74271e4e Florian Westphal 2025-11-05 364 hptr = net->ct.nf_conntrack_hash;
92e47ba8839bac Liping Zhang 2016-08-13 365 } while (read_seqcount_retry(&nf_conntrack_generation, sequence));
92e47ba8839bac Liping Zhang 2016-08-13 366
92e47ba8839bac Liping Zhang 2016-08-13 367 *hash = hptr;
92e47ba8839bac Liping Zhang 2016-08-13 368 *hsize = hsz;
92e47ba8839bac Liping Zhang 2016-08-13 369 }
92e47ba8839bac Liping Zhang 2016-08-13 370
308ac9143ee220 Daniel Borkmann 2015-08-08 371 struct nf_conn *nf_ct_tmpl_alloc(struct net *net,
308ac9143ee220 Daniel Borkmann 2015-08-08 372 const struct nf_conntrack_zone *zone,
308ac9143ee220 Daniel Borkmann 2015-08-08 373 gfp_t flags);
9cf94eab8b309e Daniel Borkmann 2015-08-31 374 void nf_ct_tmpl_free(struct nf_conn *tmpl);
e53376bef2cd97 Pablo Neira Ayuso 2014-02-03 375
3c79107631db1f Florian Westphal 2019-04-01 376 u32 nf_ct_get_id(const struct nf_conn *ct);
c53bd0e96662c2 Florian Westphal 2021-04-12 377 u32 nf_conntrack_count(const struct net *net);
3c79107631db1f Florian Westphal 2019-04-01 378
c74454fadd5ea6 Florian Westphal 2017-01-23 379 static inline void
c74454fadd5ea6 Florian Westphal 2017-01-23 380 nf_ct_set(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info info)
c74454fadd5ea6 Florian Westphal 2017-01-23 381 {
261db6c2fbd64a Jeremy Sowden 2019-09-13 382 skb_set_nfct(skb, (unsigned long)ct | info);
c74454fadd5ea6 Florian Westphal 2017-01-23 383 }
c74454fadd5ea6 Florian Westphal 2017-01-23 384
0418b989a46788 Pablo Neira Ayuso 2021-06-02 385 extern unsigned int nf_conntrack_net_id;
0418b989a46788 Pablo Neira Ayuso 2021-06-02 386
0418b989a46788 Pablo Neira Ayuso 2021-06-02 387 static inline struct nf_conntrack_net *nf_ct_pernet(const struct net *net)
0418b989a46788 Pablo Neira Ayuso 2021-06-02 388 {
0418b989a46788 Pablo Neira Ayuso 2021-06-02 389 return net_generic(net, nf_conntrack_net_id);
0418b989a46788 Pablo Neira Ayuso 2021-06-02 390 }
0418b989a46788 Pablo Neira Ayuso 2021-06-02 391
e22987c91161c3 lvxiafei 2025-11-05 392 static inline unsigned int nf_conntrack_max(const struct net *net)
e22987c91161c3 lvxiafei 2025-11-05 393 {
e22987c91161c3 lvxiafei 2025-11-05 394 #if IS_ENABLED(CONFIG_NF_CONNTRACK)
193325b9852e29 Florian Westphal 2025-11-05 395 return net->ct.nf_conntrack_max;
e22987c91161c3 lvxiafei 2025-11-05 396 #endif
e22987c91161c3 lvxiafei 2025-11-05 @397 }
e22987c91161c3 lvxiafei 2025-11-05 398
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-07 16:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 16:47 [RFC nf-next 00/11] netfilter: conntrack: pernet hash tables Florian Westphal
2025-11-05 16:47 ` [RFC nf-next 01/11] netfilter: netns nf_conntrack: per-netns net.netfilter.nf_conntrack_max sysctl Florian Westphal
2025-11-05 16:47 ` [RFC nf-next 02/11] netfilter: conntrack: don't schedule gc worker when table is empty Florian Westphal
2025-11-05 16:47 ` [RFC nf-next 03/11] tests: netfilter: conntrack_resize: prepare for pernet conntrack table Florian Westphal
2025-11-05 16:47 ` [RFC nf-next 04/11] netfilter: conntrack: pass pointer to buckets instead of index Florian Westphal
2025-11-05 16:47 ` [RFC nf-next 05/11] netfilter: conntrack: split hashtable auto-size to helper function Florian Westphal
2025-11-05 16:48 ` [RFC nf-next 06/11] netfilter: conntrack: move nf_conntrack_hash to struct net Florian Westphal
2025-11-07 14:03 ` kernel test robot
2025-11-05 16:48 ` [RFC nf-next 07/11] netfilter: conntrack: init and start independent gc workers when needed Florian Westphal
2025-11-05 16:48 ` [RFC nf-next 08/11] netfilter: conntrack: make nf_conntrack hash table pernet Florian Westphal
2025-11-07 16:05 ` kernel test robot [this message]
2025-11-05 16:48 ` [RFC nf-next 09/11] netfilter: conntrack: delay conntrack hashtable allocation until needed Florian Westphal
2025-11-05 16:48 ` [RFC nf-next 10/11] netfilter: conntrack: allow non-init-net to change table size Florian Westphal
2025-11-05 16:48 ` [RFC nf-next 11/11] netfilter: nf_nat: make bysource hash table pernet Florian Westphal
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=202511072353.gCeACgfc-lkp@intel.com \
--to=lkp@intel.com \
--cc=fw@strlen.de \
--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.