Linux Netfilter development
 help / color / mirror / Atom feed
From: Fernando Fernandez Mancera <fmancera@suse.de>
To: Florian Westphal <fw@strlen.de>, netdev@vger.kernel.org
Cc: Paolo Abeni <pabeni@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	netfilter-devel@vger.kernel.org, pablo@netfilter.org
Subject: Re: [PATCH net 0/6] netfilter: updates for net
Date: Sun, 4 Jan 2026 16:08:34 +0100	[thread overview]
Message-ID: <70d635b0-b5ca-44fe-90b1-da2303ff09ec@suse.de> (raw)
In-Reply-To: <20260102114128.7007-1-fw@strlen.de>

On 1/2/26 12:41 PM, Florian Westphal wrote:
> Hi,
> 
> The following patchset contains Netfilter fixes for *net*:
> 
> 1) Fix overlap detection for nf_tables with concatenated ranges.
>     There are cases where element could not be added due to a conflict
>     with existing range, while kernel reports success to userspace.
> 2) update selftest to cover this bug.
> 3) synproxy update path should use READ/WRITE once as we replace
>     config struct while packet path might read it in parallel.
>     This relies on said config struct to fit sizeof(long).
>     From Fernando Fernandez Mancera.
> 4) Don't return -EEXIST from xtables in module load path, a pending
>     patch to module infra will spot a warning if this happens.
>     From Daniel Gomez.
> 5) Fix a memory leak in nf_tables when chain hits 2**32 users
>     and rule is to be hw-offloaded, from Zilin Guan.
> 6) Avoid infinite list growth when insert rate is high in nf_conncount,
>     also from Fernando.

Hi Florian,

FWIW, infinite list growth is still possible when insert rate is high in 
nf_conncount as I noticed that the commit "netfilter: nf_conncount: 
increase the connection clean up limit to 64" was not included in the 
pull request.

It is not a big deal. I am fine delaying the fix but just wanted to clarify.

Thanks,
Fernando.


> Please, pull these changes from:
> The following changes since commit dbf8fe85a16a33d6b6bd01f2bc606fc017771465:
> 
>    Merge tag 'net-6.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2025-12-30 08:45:58 -0800)
> 
> are available in the Git repository at:
> 
>    https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-26-01-02
> 
> for you to fetch changes up to 7811ba452402d58628e68faedf38745b3d485e3c:
> 
>    netfilter: nf_conncount: update last_gc only when GC has been performed (2026-01-02 10:44:28 +0100)
> 
> ----------------------------------------------------------------
> netfilter pull request nf-26-01-02
> 
> ----------------------------------------------------------------
> Daniel Gomez (1):
>        netfilter: replace -EEXIST with -EBUSY
> 
> Fernando Fernandez Mancera (2):
>        netfilter: nft_synproxy: avoid possible data-race on update operation
>        netfilter: nf_conncount: update last_gc only when GC has been performed
> 
> Florian Westphal (2):
>        netfilter: nft_set_pipapo: fix range overlap detection
>        selftests: netfilter: nft_concat_range.sh: add check for overlap detection bug
> 
> Zilin Guan (1):
>        netfilter: nf_tables: fix memory leak in nf_tables_newrule()
> 
>   net/bridge/netfilter/ebtables.c                    |  2 +-
>   net/netfilter/nf_conncount.c                       |  2 +-
>   net/netfilter/nf_log.c                             |  4 +-
>   net/netfilter/nf_tables_api.c                      |  3 +-
>   net/netfilter/nft_set_pipapo.c                     |  4 +-
>   net/netfilter/nft_synproxy.c                       |  6 +--
>   net/netfilter/x_tables.c                           |  2 +-
>   .../selftests/net/netfilter/nft_concat_range.sh    | 45 +++++++++++++++++++++-
>   8 files changed, 56 insertions(+), 12 deletions(-)
> # WARNING: 0000-cover-letter.patch lacks signed-off-by tag!
> # WARNING: skip 0000-cover-letter.patch, no "Fixes" tag!
> # INFO: 0001-netfilter-nft_set_pipapo-fix-range-overlap-detection.patch fixes commit from v5.6~21^2~5^2~5
> # WARNING: skip 0002-selftests-netfilter-nft_concat_range.sh-add-check-fo.patch, no "Fixes" tag!
> # INFO: 0003-netfilter-nft_synproxy-avoid-possible-data-race-on-u.patch fixes commit from v5.4-rc1~131^2~26^2~23
> # WARNING: skip 0004-netfilter-replace-EEXIST-with-EBUSY.patch, no "Fixes" tag!
> # INFO: 0005-netfilter-nf_tables-fix-memory-leak-in-nf_tables_new.patch fixes commit from v6.5-rc2~22^2~39^2~5
> # INFO: 0006-netfilter-nf_conncount-update-last_gc-only-when-GC-h.patch fixes commit from v5.19-rc1~159^2~45^2~2
> 


  parent reply	other threads:[~2026-01-04 15:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-02 11:41 [PATCH net 0/6] netfilter: updates for net Florian Westphal
2026-01-02 11:41 ` [PATCH net 1/6] netfilter: nft_set_pipapo: fix range overlap detection Florian Westphal
2026-01-04 20:13   ` patchwork-bot+netdevbpf
2026-01-02 11:41 ` [PATCH net 2/6] selftests: netfilter: nft_concat_range.sh: add check for overlap detection bug Florian Westphal
2026-01-02 11:41 ` [PATCH net 3/6] netfilter: nft_synproxy: avoid possible data-race on update operation Florian Westphal
2026-01-02 11:41 ` [PATCH net 4/6] netfilter: replace -EEXIST with -EBUSY Florian Westphal
2026-01-02 11:41 ` [PATCH net 5/6] netfilter: nf_tables: fix memory leak in nf_tables_newrule() Florian Westphal
2026-01-02 11:41 ` [PATCH net 6/6] netfilter: nf_conncount: update last_gc only when GC has been performed Florian Westphal
2026-01-04 15:08 ` Fernando Fernandez Mancera [this message]
2026-01-04 15:16   ` [PATCH net 0/6] netfilter: updates for net Florian Westphal
  -- strict thread matches above, loose matches on Subject: below --
2025-12-16 19:08 Florian Westphal
2025-12-19  8:50 ` Paolo Abeni
2023-09-06 16:25 [PATCH net 0/6] netfilter " Florian Westphal
2023-08-23 15:26 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=70d635b0-b5ca-44fe-90b1-da2303ff09ec@suse.de \
    --to=fmancera@suse.de \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --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