netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>, netfilter-devel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	fw@strlen.de, ffmancera@suse.de, brady.1345@gmail.com
Subject: Re: [PATCH nf 1/2] netfilter: nf_tables: limit maximum number of jumps/gotos per netns
Date: Wed, 29 Oct 2025 12:49:58 +0800	[thread overview]
Message-ID: <202510291201.P7nkKt1R-lkp@intel.com> (raw)
In-Reply-To: <20251027221722.183398-2-pablo@netfilter.org>

Hi Pablo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on netfilter-nf/main]
[also build test WARNING on linus/master v6.18-rc3 next-20251029]
[cannot apply to nf-next/master]
[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/Pablo-Neira-Ayuso/netfilter-nf_tables-limit-maximum-number-of-jumps-gotos-per-netns/20251028-062221
base:   https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main
patch link:    https://lore.kernel.org/r/20251027221722.183398-2-pablo%40netfilter.org
patch subject: [PATCH nf 1/2] netfilter: nf_tables: limit maximum number of jumps/gotos per netns
config: arm-randconfig-003-20251028 (https://download.01.org/0day-ci/archive/20251029/202510291201.P7nkKt1R-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d1c086e82af239b245fe8d7832f2753436634990)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251029/202510291201.P7nkKt1R-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/202510291201.P7nkKt1R-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from net/netfilter/core.c:27:
   In file included from include/net/netfilter/nf_tables.h:13:
   In file included from include/net/netfilter/nf_flow_table.h:13:
   In file included from include/linux/if_pppox.h:17:
   include/uapi/linux/if_pppox.h:71:4: warning: field sa_addr within 'struct sockaddr_pppox' is less aligned than 'union (unnamed union at include/uapi/linux/if_pppox.h:68:2)' and is usually due to 'struct sockaddr_pppox' being packed, which can lead to unaligned accesses [-Wunaligned-access]
      71 |         } sa_addr;
         |           ^
>> net/netfilter/core.c:832:1: warning: unused label 'err_nft_pernet' [-Wunused-label]
     832 | err_nft_pernet:
         | ^~~~~~~~~~~~~~~
   2 warnings generated.


vim +/err_nft_pernet +832 net/netfilter/core.c

   805	
   806	int __init netfilter_init(void)
   807	{
   808		int ret;
   809	
   810		ret = register_pernet_subsys(&netfilter_net_ops);
   811		if (ret < 0)
   812			goto err;
   813	
   814	#ifdef CONFIG_LWTUNNEL
   815		ret = netfilter_lwtunnel_init();
   816		if (ret < 0)
   817			goto err_lwtunnel_pernet;
   818	#endif
   819	#if IS_ENABLED(CONFIG_NF_TABLES)
   820		ret = netfilter_nf_tables_sysctl_init();
   821		if (ret < 0)
   822			goto err_nft_pernet;
   823	#endif
   824		ret = netfilter_log_init();
   825		if (ret < 0)
   826			goto err_log_pernet;
   827	
   828		return 0;
   829	
   830	err_log_pernet:
   831		netfilter_nf_tables_sysctl_fini();
 > 832	err_nft_pernet:

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

  parent reply	other threads:[~2025-10-29  4:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-27 22:17 [PATCH nf,v2 0/2] nf_tables: limit maximum number of jumps/gotos per netns Pablo Neira Ayuso
2025-10-27 22:17 ` [PATCH nf 1/2] netfilter: " Pablo Neira Ayuso
2025-10-28 13:06   ` Florian Westphal
2025-10-28 17:26     ` Pablo Neira Ayuso
2025-10-28 17:36       ` Florian Westphal
2025-10-28 14:32   ` kernel test robot
2025-10-28 14:54   ` kernel test robot
2025-10-29  4:49   ` kernel test robot [this message]
2025-10-27 22:17 ` [PATCH nf 2/2] selftests: netfilter: add test for nf_tables_jumps_max_netns sysctl Pablo Neira Ayuso

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=202510291201.P7nkKt1R-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brady.1345@gmail.com \
    --cc=ffmancera@suse.de \
    --cc=fw@strlen.de \
    --cc=llvm@lists.linux.dev \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pablo@netfilter.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).