All of lore.kernel.org
 help / color / mirror / Atom feed
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 06/11] netfilter: conntrack: move nf_conntrack_hash to struct net
Date: Fri, 7 Nov 2025 22:03:56 +0800	[thread overview]
Message-ID: <202511072102.lOOFMVU8-lkp@intel.com> (raw)
In-Reply-To: <20251105164805.3992-7-fw@strlen.de>

Hi Florian,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR 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-7-fw%40strlen.de
patch subject: [RFC nf-next 06/11] netfilter: conntrack: move nf_conntrack_hash to struct net
config: s390-randconfig-001-20251107 (https://download.01.org/0day-ci/archive/20251107/202511072102.lOOFMVU8-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/202511072102.lOOFMVU8-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/202511072102.lOOFMVU8-lkp@intel.com/

All errors (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:344:13: error: 'struct net' has no member named 'ct'
      hptr = net->ct.nf_conntrack_hash;
                ^~
   include/net/netfilter/nf_conntrack.h:345:18: error: 'struct net' has no member named 'ct'
      hptr = init_net.ct.nf_conntrack_hash;
                     ^

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 +344 include/net/netfilter/nf_conntrack.h

   332	
   333	/* must be called with rcu read lock held */
   334	static inline void
   335	nf_conntrack_get_ht(struct net *net, struct hlist_nulls_head **hash,
   336			    unsigned int *hsize)
   337	{
   338		struct hlist_nulls_head *hptr;
   339		unsigned int sequence, hsz;
   340	
   341		do {
   342			sequence = read_seqcount_begin(&nf_conntrack_generation);
   343			hsz = nf_conntrack_htable_size;
 > 344			hptr = net->ct.nf_conntrack_hash;
   345			hptr = init_net.ct.nf_conntrack_hash;
   346		} while (read_seqcount_retry(&nf_conntrack_generation, sequence));
   347	
   348		*hash = hptr;
   349		*hsize = hsz;
   350	}
   351	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-11-07 14:04 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 [this message]
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
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=202511072102.lOOFMVU8-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.