Skip to content

IPVS: fixes after the new hash tables

Julian Anastasov lvs-devel netfilter-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 1 replySuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches1 replySuperseded

Changes in v4 from the cover letter

patch 3: add error message for too many hash table changes in ip_vs_conn_fill_cport()

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipvs: fixes for the new ip_vs_status infonet/netfilter/ipvs/ip_vs_ctl.c+36 -150 replies
2/3ipvs: fix races around the conn_lfactor and svc_lfactor sysctl varsnet/netfilter/ipvs/ip_vs_conn.c net/netfilter/ipvs/ip_vs_ctl.c+10 -40 replies
3/3ipvs: fix the spin_lock usage for RT buildnet/netfilter/ipvs/ip_vs_conn.c+36 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 net 0/3] IPVS: fixes after the new hash tables

Hello,

This patchset contains fixes after the recent net-next
work for resizable hash tables. We target multiple reports from Sashiko and one from syzkaller. The patches are based on the net tree where the fixed commits are present...

v4:
patch 3: add error message for too many hash table changes in ip_vs_conn_fill_cport()

v3:
patch 3: use cp->lock in ip_vs_conn_fill_cport() to protect the cp->flags modifications

v2:
* patch 3: remove cp->lock from ip_vs_conn_fill_cport() and avoid races with resizing and possible multiple attempts to fill cport.

Julian Anastasov (3):
ipvs: fixes for the new ip_vs_status info
ipvs: fix races around the conn_lfactor and svc_lfactor sysctl vars
ipvs: fix the spin_lock usage for RT build

 net/netfilter/ipvs/ip_vs_conn.c | 71 +++++++++++++++++----------------
 net/netfilter/ipvs/ip_vs_ctl.c  | 63 ++++++++++++++++++++---------
 2 files changed, 82 insertions(+), 52 deletions(-)
Signature · 1 line
2.53.0