Skip to content

Netfilter/IPVS updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()net/netfilter/nf_tables_api.c+3 -00 repliesApplied
2/6netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()net/netfilter/nf_tables_api.c+1 -10 repliesApplied
3/6netfilter: conntrack: udp: fix seen-reply testnet/netfilter/nf_conntrack_proto_udp.c+1 -10 repliesApplied
4/6netfilter: conntrack: remote a return value of the 'seq_print_acct' function.net/netfilter/nf_conntrack_standalone.c+4 -80 repliesApplied
5/6ipvs: avoid kfree_rcu without 2nd arginclude/net/ip_vs.h net/netfilter/ipvs/ip_vs_est.c+2 -10 repliesApplied
6/6netfilter: let reset rules clean out conntrack entriesinclude/linux/netfilter.h include/net/netfilter/nf_conntrack.h net/ipv4/netfilter/nf_reject_ipv4.c +4 more+76 -00 repliesApplied

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchRoi DayanSimon HormanFernando Fernandez ManceraLeon Romanovsky
1/6
2/6R-b A-b
3/6R-b
4/6R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/6] Netfilter/IPVS updates for net-next

Hi,

The following patchset contains Netfilter updates for net-next:

1) Add safeguard to check for NULL tupe in objects updates via NFT_MSG_NEWOBJ, this should not ever happen. From Alok Tiwari.

2) Incorrect pointer check in the new destroy rule command, from Yang Yingliang.

3) Incorrect status bitcheck in nf_conntrack_udp_packet(), from Florian Westphal.

4) Simplify seq_print_acct(), from Ilia Gavrilov.

5) Use 2-arg optimal variant of kfree_rcu() in IPVS, from Julian Anastasov.

6) TCP connection enters CLOSE state in conntrack for locally originated TCP reset packet from the reject target, from Florian Westphal.

The fixes #2 and #3 in this series address issues from the previous pull nf-next request in this net-next cycle.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git

Thanks.

----------------------------------------------------------------

The following changes since commit dd25cfab16e6bff1bbd75b42b8334c4419c90a4f:

Merge branch 'net-ipa-remaining-ipa-v5-0-support' (2023-01-31 21:45:54 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git HEAD

for you to fetch changes up to 2954fe60e33da0f4de4d81a4c95c7dddb517d00c:

netfilter: let reset rules clean out conntrack entries (2023-02-17 13:04:56 +0100)

----------------------------------------------------------------
Alok Tiwari (1):
netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()

Florian Westphal (2):
netfilter: conntrack: udp: fix seen-reply test
netfilter: let reset rules clean out conntrack entries

Gavrilov Ilia (1):
netfilter: conntrack: remote a return value of the 'seq_print_acct' function.

Julian Anastasov (1):
ipvs: avoid kfree_rcu without 2nd arg

Yang Yingliang (1):
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()

 include/linux/netfilter.h               |  3 +++
 include/net/ip_vs.h                     |  1 +
 include/net/netfilter/nf_conntrack.h    |  8 ++++++++
 net/ipv4/netfilter/nf_reject_ipv4.c     |  1 +
 net/ipv6/netfilter/nf_reject_ipv6.c     |  1 +
 net/netfilter/core.c                    | 16 +++++++++++++++
 net/netfilter/ipvs/ip_vs_est.c          |  2 +-
 net/netfilter/nf_conntrack_core.c       | 12 +++++++++++
 net/netfilter/nf_conntrack_proto_tcp.c  | 35 +++++++++++++++++++++++++++++++++
 net/netfilter/nf_conntrack_proto_udp.c  |  2 +-
 net/netfilter/nf_conntrack_standalone.c | 12 ++++-------
 net/netfilter/nf_tables_api.c           |  5 ++++-
 12 files changed, 87 insertions(+), 11 deletions(-)