From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: davem@davemloft.net, netdev@vger.kernel.org, kuba@kernel.org,
pabeni@redhat.com, edumazet@google.com, fw@strlen.de,
horms@kernel.org
Subject: [PATCH net-next 0/7] Netfilter updates for net-next
Date: Sun, 23 Mar 2025 11:09:15 +0100 [thread overview]
Message-ID: <20250323100922.59983-1-pablo@netfilter.org> (raw)
Hi,
The following batch contains Netfilter updates for net-next:
1) Use kvmalloc in xt_hashlimit, from Denis Kirjanov.
2) Tighten nf_conntrack sysctl accepted values for nf_conntrack_max
and nf_ct_expect_max, from Nicolas Bouchinet.
3) Avoid lookup in nft_fib if socket is available, from Florian Westphal.
4) Initialize struct lsm_context in nfnetlink_queue to avoid
hypothetical ENOMEM errors, Chenyuan Yang.
5) Use strscpy() instead of _pad when initializing xtables table name,
kzalloc is already used to initialized the table memory area.
From Thorsten Blum.
6) Missing socket lookup by conntrack information for IPv6 traffic
in nft_socket, there is a similar chunk in IPv4, this was never
added when IPv6 NAT was introduced. From Maxim Mikityanskiy.
7) Fix clang issues with nf_tables CONFIG_MITIGATION_RETPOLINE,
from WangYuli.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-25-03-23
Thanks.
----------------------------------------------------------------
The following changes since commit 71ca3561c268a07888ba9ce089ab8c3f54710cd4:
Merge branch 'mptcp-pm-code-reorganisation' (2025-03-10 13:36:18 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-25-03-23
for you to fetch changes up to e3a4182edd1ae60e7e3539ff3b3784af9830d223:
netfilter: nf_tables: Only use nf_skip_indirect_calls() when MITIGATION_RETPOLINE (2025-03-23 10:53:47 +0100)
----------------------------------------------------------------
netfilter pull request 25-03-23
----------------------------------------------------------------
Chenyuan Yang (1):
netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error
Denis Kirjanov (1):
netfilter: xt_hashlimit: replace vmalloc calls with kvmalloc
Florian Westphal (1):
netfilter: fib: avoid lookup if socket is available
Maxim Mikityanskiy (1):
netfilter: socket: Lookup orig tuple for IPv6 SNAT
Nicolas Bouchinet (1):
netfilter: conntrack: Bound nf_conntrack sysctl writes
Thorsten Blum (1):
netfilter: xtables: Use strscpy() instead of strscpy_pad()
WangYuli (1):
netfilter: nf_tables: Only use nf_skip_indirect_calls() when MITIGATION_RETPOLINE
include/net/netfilter/nft_fib.h | 21 +++++++++++++++++++++
net/ipv4/netfilter/nft_fib_ipv4.c | 11 +++++------
net/ipv6/netfilter/nf_socket_ipv6.c | 23 +++++++++++++++++++++++
net/ipv6/netfilter/nft_fib_ipv6.c | 19 ++++++++++---------
net/netfilter/nf_conntrack_standalone.c | 12 +++++++++---
net/netfilter/nf_tables_core.c | 11 ++++-------
net/netfilter/nfnetlink_queue.c | 2 +-
net/netfilter/xt_hashlimit.c | 12 +++++-------
net/netfilter/xt_repldata.h | 2 +-
9 files changed, 79 insertions(+), 34 deletions(-)
next reply other threads:[~2025-03-23 10:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-23 10:09 Pablo Neira Ayuso [this message]
2025-03-23 10:09 ` [PATCH net-next 1/7] netfilter: xt_hashlimit: replace vmalloc calls with kvmalloc Pablo Neira Ayuso
2025-03-25 15:40 ` patchwork-bot+netdevbpf
2025-03-23 10:09 ` [PATCH net-next 2/7] netfilter: conntrack: Bound nf_conntrack sysctl writes Pablo Neira Ayuso
2025-03-23 10:09 ` [PATCH net-next 3/7] netfilter: fib: avoid lookup if socket is available Pablo Neira Ayuso
2025-03-23 10:09 ` [PATCH net-next 4/7] netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error Pablo Neira Ayuso
2025-03-23 10:09 ` [PATCH net-next 5/7] netfilter: xtables: Use strscpy() instead of strscpy_pad() Pablo Neira Ayuso
2025-03-23 10:09 ` [PATCH net-next 6/7] netfilter: socket: Lookup orig tuple for IPv6 SNAT Pablo Neira Ayuso
2025-03-23 10:09 ` [PATCH net-next 7/7] netfilter: nf_tables: Only use nf_skip_indirect_calls() when MITIGATION_RETPOLINE Pablo Neira Ayuso
-- strict thread matches above, loose matches on Subject: below --
2025-04-22 20:23 [PATCH net-next 0/7] Netfilter updates for net-next Pablo Neira Ayuso
2023-10-18 8:51 [PATCH net-next 0/7] netfilter " Florian Westphal
2021-04-27 20:43 [PATCH net-next 0/7] Netfilter " 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=20250323100922.59983-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
/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).