netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org
Cc: kernel test robot <lkp@intel.com>
Subject: Re: [PATCH nf-next] netfilter: xtables: fix up kconfig dependencies
Date: Wed, 7 Feb 2024 16:04:43 -0800	[thread overview]
Message-ID: <2b617685-3524-4ae8-83fa-b5455c433a53@infradead.org> (raw)
In-Reply-To: <20240206135556.11088-1-fw@strlen.de>



On 2/6/24 05:55, Florian Westphal wrote:
> Randy Dunlapt reports arptables build failure:
> arp_tables.c:(.text+0x20): undefined reference to `xt_find_table'
> 
> ... because recent change removed a 'select' on the xtables core.
> Add a "depends" clause on arptables to resolve this.
> 
> Kernel test robot reports another build breakage:
> iptable_nat.c:(.text+0x8): undefined reference to `ipt_unregister_table_exit'
> 
> ... because of a typo, the nat table selected ip6tables.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Fixes: a9525c7f6219 ("netfilter: xtables: allow xtables-nft only builds")
> Fixes: 4654467dc7e1 ("netfilter: arptables: allow xtables-nft only builds")
> Signed-off-by: Florian Westphal <fw@strlen.de>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

Thanks.


> ---
>  net/ipv4/netfilter/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
> index 783523087281..8f6e950163a7 100644
> --- a/net/ipv4/netfilter/Kconfig
> +++ b/net/ipv4/netfilter/Kconfig
> @@ -217,7 +217,7 @@ config IP_NF_NAT
>  	default m if NETFILTER_ADVANCED=n
>  	select NF_NAT
>  	select NETFILTER_XT_NAT
> -	select IP6_NF_IPTABLES_LEGACY
> +	select IP_NF_IPTABLES_LEGACY
>  	help
>  	  This enables the `nat' table in iptables. This allows masquerading,
>  	  port forwarding and other forms of full Network Address Port
> @@ -329,6 +329,7 @@ config NFT_COMPAT_ARP
>  config IP_NF_ARPFILTER
>  	tristate "arptables-legacy packet filtering support"
>  	select IP_NF_ARPTABLES
> +	depends on NETFILTER_XTABLES
>  	help
>  	  ARP packet filtering defines a table `filter', which has a series of
>  	  rules for simple ARP packet filtering at local input and

-- 
#Randy

      reply	other threads:[~2024-02-08  0:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 13:55 [PATCH nf-next] netfilter: xtables: fix up kconfig dependencies Florian Westphal
2024-02-08  0:04 ` Randy Dunlap [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=2b617685-3524-4ae8-83fa-b5455c433a53@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=fw@strlen.de \
    --cc=lkp@intel.com \
    --cc=netfilter-devel@vger.kernel.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).