Skip to content

ipset performance regression in swap fix

Jozsef Kadlecsik netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1netfilter: ipset: fix performance regression in swap operationinclude/linux/netfilter/ipset/ip_set.h net/netfilter/ipset/ip_set_core.c+25 -81 reply

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchAle CrismaniDavid Wang
1/1T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] ipset performance regression in swap fix

Hi Pablo,

Please consider to apply the next patch to your nf tree. It should be applied to all stable branches to which the patch "netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test", commit 28628fa9 was added.

* The synchronize_rcu() call added to the swap function to prevent the race condition makes it too slow. The race can be prevented by using call_rcu() in the destroy function instead.

Best regards,
Jozsef

The following changes since commit ac631873c9e7a50d2a8de457cfc4b9f86666403e:

net: ethernet: cortina: Drop TSO support (2024-01-07 16:05:00 +0000)

are available in the Git repository at:

git://blackhole.kfki.hu/nf 9833c7d18f7065c2

for you to fetch changes up to 9833c7d18f7065c2ef31aae67973bcb198d761bc:

netfilter: ipset: fix performance regression in swap operation (2024-01-16 17:19:19 +0100)

----------------------------------------------------------------
Jozsef Kadlecsik (1):
netfilter: ipset: fix performance regression in swap operation

 include/linux/netfilter/ipset/ip_set.h |  2 ++
 net/netfilter/ipset/ip_set_core.c      | 31 +++++++++++++++++++++++--------
 2 files changed, 25 insertions(+), 8 deletions(-)